export sys.exit
update tests to use exit rather than return
ignore return value from main (actually done in prior CL)
SVN=125173
diff --git a/test/string_lit.go b/test/string_lit.go
index 56c4c6a..f4f123c 100644
--- a/test/string_lit.go
+++ b/test/string_lit.go
@@ -32,7 +32,7 @@
}
}
-func main() int {
+func main() {
ecode = 0;
s :=
""
@@ -75,5 +75,5 @@
`\000\123\x00\312\xFE\u0123\ubabe\U0000babe`,
"backslashes 2 (backquote)");
assert("\\x\\u\\U\\", `\x\u\U\`, "backslash 3 (backquote)");
- return ecode;
+ sys.exit(ecode);
}