• 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
scanner_test.go 6.5 KB