]> Cypherpunks repositories - gostls13.git/commit
json: fix test if rand returns 0.
authorIan Lance Taylor <iant@golang.org>
Wed, 6 Jul 2011 20:00:54 +0000 (13:00 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 6 Jul 2011 20:00:54 +0000 (13:00 -0700)
commit7b0bb48056a59d3829ee47ab853b282d38b1efd1
tree9691648c342637be032b51189febd102b9b23647
parent6732bd35266c0fa9fa7d88eef93d4fc344edf193
json: fix test if rand returns 0.

Fixes test when run with gccgo using optimization, which
changes the order of the calls to rand.

R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/4639101
src/pkg/json/scanner_test.go