• Dmitriy Vyukov's avatar
    encoding/json: fix test failure · 3b85f9b7
    Dmitriy Vyukov authored
    $ 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
    3b85f9b7
Name
Last commit
Last update
..
testdata Loading commit data...
bench_test.go Loading commit data...
decode.go Loading commit data...
decode_test.go Loading commit data...
encode.go Loading commit data...
encode_test.go Loading commit data...
example_test.go Loading commit data...
fold.go Loading commit data...
fold_test.go Loading commit data...
indent.go Loading commit data...
scanner.go Loading commit data...
scanner_test.go Loading commit data...
stream.go Loading commit data...
stream_test.go Loading commit data...
tagkey_test.go Loading commit data...
tags.go Loading commit data...
tags_test.go Loading commit data...