summaryrefslogtreecommitdiff
path: root/libgo/go/html/template/css_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/html/template/css_test.go')
-rw-r--r--libgo/go/html/template/css_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/html/template/css_test.go b/libgo/go/html/template/css_test.go
index 0d94bdcf18c..a735638b031 100644
--- a/libgo/go/html/template/css_test.go
+++ b/libgo/go/html/template/css_test.go
@@ -113,7 +113,7 @@ func TestDecodeCSS(t *testing.T) {
func TestHexDecode(t *testing.T) {
for i := 0; i < 0x200000; i += 101 /* coprime with 16 */ {
- s := strconv.Itob(i, 16)
+ s := strconv.FormatInt(int64(i), 16)
if got := int(hexDecode([]byte(s))); got != i {
t.Errorf("%s: want %d but got %d", s, i, got)
}