diff options
author | Ondřej Surý <ondrej@sury.org> | 2011-01-17 12:40:45 +0100 |
---|---|---|
committer | Ondřej Surý <ondrej@sury.org> | 2011-01-17 12:40:45 +0100 |
commit | 3e45412327a2654a77944249962b3652e6142299 (patch) | |
tree | bc3bf69452afa055423cbe0c5cfa8ca357df6ccf /src/pkg/json/stream_test.go | |
parent | c533680039762cacbc37db8dc7eed074c3e497be (diff) | |
download | golang-upstream/2011.01.12.tar.gz |
Imported Upstream version 2011.01.12upstream/2011.01.12
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 |