]> Cypherpunks repositories - gostls13.git/commit
encoding/json: fix test failure
authorDmitriy Vyukov <dvyukov@google.com>
Wed, 12 Feb 2014 17:50:58 +0000 (21:50 +0400)
committerDmitriy Vyukov <dvyukov@google.com>
Wed, 12 Feb 2014 17:50:58 +0000 (21:50 +0400)
commit3b85f9b7e184be17c411152f6b010aa279a85dcf
tree3f32c59988c4800a5b168070a246bfe9fc983bdf
parent384f4380e8a4fee35ac5ba8449b9fd5cf0865069
encoding/json: fix test failure
$ go test -cpu=1,1,1,1,1,1,1,1,1 encoding/json
--- FAIL: TestIndentBig (0.00 seconds)
        scanner_test.go:131: Indent(jsonBig) did not get bigger
On 4-th run initBig generates an empty array.

LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/49930051
src/pkg/encoding/json/scanner_test.go