]> Cypherpunks repositories - gostls13.git/commit
math/rand: fix example_test to show with the correct method
authorGuobiao Mei <meiguobiao@gmail.com>
Tue, 23 Dec 2014 15:47:12 +0000 (10:47 -0500)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 23 Dec 2014 17:24:24 +0000 (17:24 +0000)
commit59cb2d9ca67ec4be6eb118a7faa8139eedadba80
treec7e051ff2e00f20e13417660b23dc7882d7fb99e
parentfbdf59a7c4c987cab294cf889dbcc20208c28045
math/rand: fix example_test to show with the correct method

Originally it used r.Int63() to show "Uint32", and now we use the correct r.Uint32() method.

Fixes #9429

Change-Id: I8a1228f1ca1af93b0e3104676fc99000257c456f
Reviewed-on: https://go-review.googlesource.com/2069
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/math/rand/example_test.go