summaryrefslogtreecommitdiff
path: root/test/char_lit.go
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2008-08-11 22:07:49 -0700
committerRob Pike <r@golang.org>2008-08-11 22:07:49 -0700
commitbc2f5f1dce1687d0aff0d51ea1b56a5d52aa3891 (patch)
tree9d0faf1d96579f8c9fb0321586cab7c5149ccdf1 /test/char_lit.go
parent7293dab5a9e4d0fb4b66fd76bab2572bbebc050d (diff)
downloadgo-git-bc2f5f1dce1687d0aff0d51ea1b56a5d52aa3891.tar.gz
fix bug depot:
1) fix print statements, panic statements (parentheses required) 2) len is now allowed as a var name (bug053) R=gri OCL=14106 CL=14106
Diffstat (limited to 'test/char_lit.go')
-rw-r--r--test/char_lit.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/char_lit.go b/test/char_lit.go
index 55ab67d3dc..de967883b0 100644
--- a/test/char_lit.go
+++ b/test/char_lit.go
@@ -32,11 +32,11 @@ func main() {
'\Ucafebabe'
;
if '\Ucafebabe' != 0xcafebabe {
- print "cafebabe wrong\n";
+ print("cafebabe wrong\n");
sys.exit(1)
}
if i != 0xcc238de1 {
- print "number is ", i, " should be ", 0xcc238de1, "\n";
+ print("number is ", i, " should be ", 0xcc238de1, "\n");
sys.exit(1)
}
}