diff options
| author | Russ Cox <rsc@golang.org> | 2009-01-16 14:58:14 -0800 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2009-01-16 14:58:14 -0800 |
| commit | c000d2eb1c11999b15772ad582b364604f6f8acf (patch) | |
| tree | 321251a8cd180ad7856af54e8e531850d0735fb0 /src/lib/testing.go | |
| parent | 969365a06e210a3a3c969a99585e868aecc6af8a (diff) | |
| download | golang-c000d2eb1c11999b15772ad582b364604f6f8acf.tar.gz | |
casify, cleanup sys
R=r
OCL=22978
CL=22984
Diffstat (limited to 'src/lib/testing.go')
| -rw-r--r-- | src/lib/testing.go | 4 |
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"); } |
