diff options
Diffstat (limited to 'src/pkg/json/stream_test.go')
-rw-r--r-- | src/pkg/json/stream_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/json/stream_test.go b/src/pkg/json/stream_test.go index ab90b754e..c83cfe3a9 100644 --- a/src/pkg/json/stream_test.go +++ b/src/pkg/json/stream_test.go @@ -71,10 +71,10 @@ func TestDecoder(t *testing.T) { } } if !reflect.DeepEqual(out, streamTest[0:i]) { - t.Errorf("decoding %d items: mismatch") + t.Errorf("decoding %d items: mismatch", i) for j := range out { if !reflect.DeepEqual(out[j], streamTest[j]) { - t.Errorf("#%d: have %v want %v", out[j], streamTest[j]) + t.Errorf("#%d: have %v want %v", j, out[j], streamTest[j]) } } break |