mirror of
https://github.com/golang/go.git
synced 2025-05-30 03:41:33 +00:00
testing: fix testing docs
The Perm function return 0 or 1 or 2 or 3. 4 is not returned, so that changed the argument to 5. Change-Id: Ic980c71a9f29f522bdeef4fce70a6c2dd136d791 Reviewed-on: https://go-review.googlesource.com/c/go/+/209777 Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
9a8b497240
commit
7bdef2dfa4
@ -99,7 +99,7 @@
|
|||||||
// line order:
|
// line order:
|
||||||
//
|
//
|
||||||
// func ExamplePerm() {
|
// func ExamplePerm() {
|
||||||
// for _, value := range Perm(4) {
|
// for _, value := range Perm(5) {
|
||||||
// fmt.Println(value)
|
// fmt.Println(value)
|
||||||
// }
|
// }
|
||||||
// // Unordered output: 4
|
// // Unordered output: 4
|
||||||
|
Loading…
x
Reference in New Issue
Block a user