aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2010-11-11 13:52:49 -0800
committerRobert Griesemer <gri@golang.org>2010-11-11 13:52:49 -0800
commitfebde3882ba432c58f3272f72fcb0a2d1d339db4 (patch)
tree0d14847e02601d85058bc247ee8d9f8717f23f64
parentffa9000b7568763e3ae721053446871d26b5ff4e (diff)
downloadgo-febde3882ba432c58f3272f72fcb0a2d1d339db4.tar.gz
go-febde3882ba432c58f3272f72fcb0a2d1d339db4.zip
sort.Search: more typos
R=r CC=golang-dev https://golang.org/cl/3042041
-rw-r--r--src/pkg/sort/search_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pkg/sort/search_test.go b/src/pkg/sort/search_test.go
index ecd363efbf..29f40531c6 100644
--- a/src/pkg/sort/search_test.go
+++ b/src/pkg/sort/search_test.go
@@ -24,11 +24,11 @@ var tests = []struct {
}{
{"empty", 0, nil, 0},
{"1 1", 1, func(i int) bool { return i <= 1 }, 0},
- {"1 true", 1, func(i int) bool { return false }, 0},
- {"1 false", 1, func(i int) bool { return true }, 0},
+ {"1 false", 1, func(i int) bool { return false }, 0},
+ {"1 true", 1, func(i int) bool { return true }, 0},
{"1e9 991", 1e9, func(i int) bool { return i <= 991 }, 991},
- {"1e9 true", 1e9, func(i int) bool { return false }, 0},
- {"1e9 false", 1e9, func(i int) bool { return true }, 1e9 - 1},
+ {"1e9 false", 1e9, func(i int) bool { return false }, 0},
+ {"1e9 true", 1e9, func(i int) bool { return true }, 1e9 - 1},
{"data -20", len(data), f(data, -20), 0},
{"data -10", len(data), f(data, -10), 0},
{"data -9", len(data), f(data, -9), 0},