summaryrefslogtreecommitdiff
path: root/src/lib/testing.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-01-20 14:40:40 -0800
committerRuss Cox <rsc@golang.org>2009-01-20 14:40:40 -0800
commit4ae0ed29a283c16d1c83ef704c4d75170c3801e6 (patch)
treef8305b165ee5ff41e9ef2b0f76e26f7ab3ece269 /src/lib/testing.go
parent3986ef877ccd4db750b5050e318dff78f7e55d19 (diff)
downloadgolang-4ae0ed29a283c16d1c83ef704c4d75170c3801e6.tar.gz
delete export
TBR=r OCL=23121 CL=23127
Diffstat (limited to 'src/lib/testing.go')
-rw-r--r--src/lib/testing.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/testing.go b/src/lib/testing.go
index 01924ef44..1ab85839b 100644
--- a/src/lib/testing.go
+++ b/src/lib/testing.go
@@ -21,7 +21,7 @@ func tabify(s string) string {
return s
}
-export type T struct {
+type T struct {
errors string;
failed bool;
ch chan *T;
@@ -69,7 +69,7 @@ func (t *T) Fatalf(format string, args ...) {
t.FailNow();
}
-export type Test struct {
+type Test struct {
Name string;
F *(*T);
}
@@ -79,7 +79,7 @@ func tRunner(t *T, test *Test) {
t.ch <- t;
}
-export func Main(tests []Test) {
+func Main(tests []Test) {
flag.Parse();
ok := true;
if len(tests) == 0 {