summaryrefslogtreecommitdiff
path: root/src/pkg/strconv/itoa_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/strconv/itoa_test.go')
-rw-r--r--src/pkg/strconv/itoa_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/strconv/itoa_test.go b/src/pkg/strconv/itoa_test.go
index 793ece60e..554c10b8b 100644
--- a/src/pkg/strconv/itoa_test.go
+++ b/src/pkg/strconv/itoa_test.go
@@ -60,7 +60,7 @@ var itob64tests = []itob64Test {
}
func TestItoa(t *testing.T) {
- for i, test := range itob64tests {
+ for _, test := range itob64tests {
s := Itob64(test.in, test.base);
if s != test.out {
t.Errorf("Itob64(%v, %v) = %v want %v\n",
@@ -140,7 +140,7 @@ var uitob64tests = []uitob64Test {
}
func TestUitoa(t *testing.T) {
- for i, test := range uitob64tests {
+ for _, test := range uitob64tests {
s := Uitob64(test.in, test.base);
if s != test.out {
t.Errorf("Uitob64(%v, %v) = %v want %v\n",