Commit 7bdef2df authored by taisa's avatar taisa Committed by Ian Lance Taylor

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/+/209777Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
parent 9a8b4972
...@@ -99,7 +99,7 @@ ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment