summaryrefslogtreecommitdiff
path: root/test/char_lit.go
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2009-08-17 13:30:22 -0700
committerRob Pike <r@golang.org>2009-08-17 13:30:22 -0700
commit74dd0ab670751feca69ca1aaf4db9859c5e52b41 (patch)
tree971cc7e3c955465162133ad90062126ba518107a /test/char_lit.go
parent3e804ba7a71576ec042cf7c22bf3b53b92b0eb60 (diff)
downloadgo-git-74dd0ab670751feca69ca1aaf4db9859c5e52b41.tar.gz
fix up some irregular indentation
R=rsc OCL=33382 CL=33391
Diffstat (limited to 'test/char_lit.go')
-rw-r--r--test/char_lit.go64
1 files changed, 32 insertions, 32 deletions
diff --git a/test/char_lit.go b/test/char_lit.go
index 6699442dc8..689a54a2fa 100644
--- a/test/char_lit.go
+++ b/test/char_lit.go
@@ -9,36 +9,36 @@ package main
import "os"
func main() {
- var i uint64 =
- ' ' +
- 'a' +
- 'ä' +
- '本' +
- '\a' +
- '\b' +
- '\f' +
- '\n' +
- '\r' +
- '\t' +
- '\v' +
- '\\' +
- '\'' +
- '\000' +
- '\123' +
- '\x00' +
- '\xca' +
- '\xFE' +
- '\u0123' +
- '\ubabe' +
- '\U0123ABCD' +
- '\Ucafebabe'
- ;
- if '\Ucafebabe' != 0xcafebabe {
- print("cafebabe wrong\n");
- os.Exit(1)
- }
- if i != 0xcc238de1 {
- print("number is ", i, " should be ", 0xcc238de1, "\n");
- os.Exit(1)
- }
+ var i uint64 =
+ ' ' +
+ 'a' +
+ 'ä' +
+ '本' +
+ '\a' +
+ '\b' +
+ '\f' +
+ '\n' +
+ '\r' +
+ '\t' +
+ '\v' +
+ '\\' +
+ '\'' +
+ '\000' +
+ '\123' +
+ '\x00' +
+ '\xca' +
+ '\xFE' +
+ '\u0123' +
+ '\ubabe' +
+ '\U0123ABCD' +
+ '\Ucafebabe'
+ ;
+ if '\Ucafebabe' != 0xcafebabe {
+ print("cafebabe wrong\n");
+ os.Exit(1)
+ }
+ if i != 0xcc238de1 {
+ print("number is ", i, " should be ", 0xcc238de1, "\n");
+ os.Exit(1)
+ }
}