summaryrefslogtreecommitdiff
path: root/test/char_lit.go
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2010-09-04 10:36:13 +1000
committerRob Pike <r@golang.org>2010-09-04 10:36:13 +1000
commit4f61fc96b2788be7cbfc6f7a72acef3d3feeeb6c (patch)
tree094ba2238e5596358b6ae4db5789c7d1fee4ecb7 /test/char_lit.go
parentcd8f4cd2068964bfa12e10cd094d41ddd725af4f (diff)
downloadgo-git-4f61fc96b2788be7cbfc6f7a72acef3d3feeeb6c.tar.gz
test: remove semiocolons.
The ken directory is untouched so we have some examples with explicit semis. R=gri CC=golang-dev https://golang.org/cl/2157041
Diffstat (limited to 'test/char_lit.go')
-rw-r--r--test/char_lit.go7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/char_lit.go b/test/char_lit.go
index e4f3f83235..99be77a570 100644
--- a/test/char_lit.go
+++ b/test/char_lit.go
@@ -32,13 +32,12 @@ func main() {
'\ubabe' +
'\U0010FFFF' +
'\U000ebabe'
- ;
if '\U000ebabe' != 0x000ebabe {
- print("ebabe wrong\n");
+ print("ebabe wrong\n")
os.Exit(1)
}
if i != 0x20e213 {
- print("number is ", i, " should be ", 0x20e213, "\n");
+ print("number is ", i, " should be ", 0x20e213, "\n")
os.Exit(1)
- }
+ }
}