diff options
author | Russ Cox <rsc@golang.org> | 2009-05-08 15:21:41 -0700 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-05-08 15:21:41 -0700 |
commit | 918afd9491bd07aed10bc364012683fc52c734bb (patch) | |
tree | 5b8c80c41b4110b57cef1a0945350c2caf7557e2 /test/typeswitch.go | |
parent | c367d1b789b0aed59e871aee588d776998a8f479 (diff) | |
download | go-918afd9491bd07aed10bc364012683fc52c734bb.tar.gz go-918afd9491bd07aed10bc364012683fc52c734bb.zip |
move things out of sys into os and runtime
R=r
OCL=28569
CL=28573
Diffstat (limited to 'test/typeswitch.go')
-rw-r--r-- | test/typeswitch.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/typeswitch.go b/test/typeswitch.go index 5ad694d868..0a421ae96f 100644 --- a/test/typeswitch.go +++ b/test/typeswitch.go @@ -6,6 +6,8 @@ package main +import "os" + const ( Bool = iota; Int; @@ -31,7 +33,7 @@ var m = make(map[string]int) func assert(b bool, s string) { if !b { println(s); - sys.Exit(1); + os.Exit(1); } } |