casify, cleanup sys

R=r
OCL=22978
CL=22984
This commit is contained in:
Russ Cox 2009-01-16 14:58:14 -08:00
parent ec9f2b0cd4
commit 360962420c
74 changed files with 423 additions and 631 deletions

View file

@ -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");
}