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.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/testing.go b/src/lib/testing.go
index 2ef05afbc..6199aa6ee 100644
--- a/src/lib/testing.go
+++ b/src/lib/testing.go
@@ -34,7 +34,7 @@ func (t *T) Fail() {
func (t *T) FailNow() {
t.Fail();
t.ch <- t;
- sys.goexit();
+ sys.Goexit();
}
func (t *T) Log(args ...) {
@@ -104,7 +104,7 @@ export func Main(tests []Test) {
}
if !ok {
println("FAIL");
- sys.exit(1);
+ sys.Exit(1);
}
println("PASS");
}