diff options
author | Russ Cox <rsc@golang.org> | 2009-01-20 14:40:40 -0800 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-01-20 14:40:40 -0800 |
commit | 4ae0ed29a283c16d1c83ef704c4d75170c3801e6 (patch) | |
tree | f8305b165ee5ff41e9ef2b0f76e26f7ab3ece269 /src/lib/strings_test.go | |
parent | 3986ef877ccd4db750b5050e318dff78f7e55d19 (diff) | |
download | golang-4ae0ed29a283c16d1c83ef704c4d75170c3801e6.tar.gz |
delete export
TBR=r
OCL=23121
CL=23127
Diffstat (limited to 'src/lib/strings_test.go')
-rw-r--r-- | src/lib/strings_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/strings_test.go b/src/lib/strings_test.go index 3bece666f..2cbf70b93 100644 --- a/src/lib/strings_test.go +++ b/src/lib/strings_test.go @@ -26,7 +26,7 @@ var faces = "☺☻☹"; var commas = "1,2,3,4"; var dots = "1....2....3....4"; -export type ExplodeTest struct { +type ExplodeTest struct { s string; a []string; } @@ -34,7 +34,7 @@ var explodetests = []ExplodeTest { ExplodeTest{ abcd, []string{"a", "b", "c", "d"} }, ExplodeTest{ faces, []string{"☺", "☻", "☹" } }, } -export func TestExplode(t *testing.T) { +func TestExplode(t *testing.T) { for i := 0; i < len(explodetests); i++ { tt := explodetests[i]; a := Explode(tt.s); @@ -49,7 +49,7 @@ export func TestExplode(t *testing.T) { } } -export type SplitTest struct { +type SplitTest struct { s string; sep string; a []string; @@ -64,7 +64,7 @@ var splittests = []SplitTest { SplitTest{ faces, "~", []string{faces} }, SplitTest{ faces, "", []string{"☺", "☻", "☹"} }, } -export func TestSplit(t *testing.T) { +func TestSplit(t *testing.T) { for i := 0; i < len(splittests); i++ { tt := splittests[i]; a := Split(tt.s, tt.sep); |