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 | 360962420c484427bbc16e1f8699ee5cccc4f012 (patch) | |
| tree | 321251a8cd180ad7856af54e8e531850d0735fb0 /src/lib/testing.go | |
| parent | ec9f2b0cd46300b9da3a82aa3604c98fce017baa (diff) | |
| download | go-360962420c484427bbc16e1f8699ee5cccc4f012.tar.xz | |
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 2ef05afbcd..6199aa6ee4 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"); } |
