summaryrefslogtreecommitdiff
path: root/libgo/go/sort/example_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/sort/example_test.go')
-rw-r--r--libgo/go/sort/example_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/sort/example_test.go b/libgo/go/sort/example_test.go
index 2224db7e13c..f57d02546f7 100644
--- a/libgo/go/sort/example_test.go
+++ b/libgo/go/sort/example_test.go
@@ -9,9 +9,9 @@ import (
"sort"
)
-// [1 2 3 4 5 6]
func ExampleInts() {
s := []int{5, 2, 6, 3, 1, 4} // unsorted
sort.Ints(s)
fmt.Println(s)
+ // Output: [1 2 3 4 5 6]
}