summaryrefslogtreecommitdiff
path: root/src/lib/testing.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/testing.go')
-rw-r--r--src/lib/testing.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/testing.go b/src/lib/testing.go
index 0bcdcffcd..37dcc3941 100644
--- a/src/lib/testing.go
+++ b/src/lib/testing.go
@@ -83,6 +83,7 @@ func TRunner(t *T, test *Test) {
}
export func Main(tests *[]Test) {
+ flag.Parse();
ok := true;
if len(tests) == 0 {
println("gotest: warning: no tests to run");