diff --git a/src/pkg/sort/search_test.go b/src/pkg/sort/search_test.go index ecd363efbf5..29f40531c6a 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},