aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/index/suffixarray
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2010-10-22 10:06:33 -0700
committerRobert Griesemer <gri@golang.org>2010-10-22 10:06:33 -0700
commit3478891d1202c1324b096a61da2294dade732c63 (patch)
tree73931a3378db0085bf5aa8d5fa512e70065a5f9a /src/pkg/index/suffixarray
parentf613015e0eeb9560579bf40dbdb40fac5e371bbc (diff)
downloadgo-3478891d1202c1324b096a61da2294dade732c63.tar.xz
gofmt -s -w src misc
R=r, rsc CC=golang-dev https://golang.org/cl/2662041
Diffstat (limited to 'src/pkg/index/suffixarray')
-rw-r--r--src/pkg/index/suffixarray/suffixarray_test.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/pkg/index/suffixarray/suffixarray_test.go b/src/pkg/index/suffixarray/suffixarray_test.go
index 7352b08e53..8280750edd 100644
--- a/src/pkg/index/suffixarray/suffixarray_test.go
+++ b/src/pkg/index/suffixarray/suffixarray_test.go
@@ -20,7 +20,7 @@ type testCase struct {
var testCases = []testCase{
- testCase{
+ {
"empty string",
"",
[]string{
@@ -29,7 +29,7 @@ var testCases = []testCase{
},
},
- testCase{
+ {
"all a's",
"aaaaaaaaaa", // 10 a's
[]string{
@@ -48,7 +48,7 @@ var testCases = []testCase{
},
},
- testCase{
+ {
"abc",
"abc",
[]string{
@@ -61,7 +61,7 @@ var testCases = []testCase{
},
},
- testCase{
+ {
"barbara*3",
"barbarabarbarabarbara",
[]string{
@@ -73,7 +73,7 @@ var testCases = []testCase{
},
},
- testCase{
+ {
"typing drill",
"Now is the time for all good men to come to the aid of their country.",
[]string{