summaryrefslogtreecommitdiff
path: root/test/string_lit.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-05-08 15:21:41 -0700
committerRuss Cox <rsc@golang.org>2009-05-08 15:21:41 -0700
commitdfa70aacecca54bcd2d60156f99dc7b4f20fdd8a (patch)
tree5b8c80c41b4110b57cef1a0945350c2caf7557e2 /test/string_lit.go
parentf721e4efbb14275164ad2e1f341abb1769ac556d (diff)
downloadgo-dfa70aacecca54bcd2d60156f99dc7b4f20fdd8a.tar.gz
move things out of sys into os and runtime
R=r OCL=28569 CL=28573
Diffstat (limited to 'test/string_lit.go')
-rw-r--r--test/string_lit.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/string_lit.go b/test/string_lit.go
index 5842eaa29..18f539dce 100644
--- a/test/string_lit.go
+++ b/test/string_lit.go
@@ -6,6 +6,8 @@
package main
+import "os"
+
var ecode int;
func assert(a, b, c string) {
@@ -84,5 +86,5 @@ func main() {
r = 0x10ffff + 1;
s = string(r);
assert(s, "\xef\xbf\xbd", "too-large rune");
- sys.Exit(ecode);
+ os.Exit(ecode);
}