diff options
author | Rob Pike <r@golang.org> | 2009-08-17 13:30:22 -0700 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2009-08-17 13:30:22 -0700 |
commit | 74dd0ab670751feca69ca1aaf4db9859c5e52b41 (patch) | |
tree | 971cc7e3c955465162133ad90062126ba518107a /test/varinit.go | |
parent | 3e804ba7a71576ec042cf7c22bf3b53b92b0eb60 (diff) | |
download | go-74dd0ab670751feca69ca1aaf4db9859c5e52b41.tar.gz go-74dd0ab670751feca69ca1aaf4db9859c5e52b41.zip |
fix up some irregular indentation
R=rsc
OCL=33382
CL=33391
Diffstat (limited to 'test/varinit.go')
-rw-r--r-- | test/varinit.go | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/varinit.go b/test/varinit.go index a494100514..004f9c01b2 100644 --- a/test/varinit.go +++ b/test/varinit.go @@ -7,14 +7,14 @@ package main func main() { - var x int = 1; - if x != 1 { panic("found ", x, ", expected 1\n"); } - { - var x int = x + 1; - if x != 2 { panic("found ", x, ", expected 2\n"); } - } - { - x := x + 1; - if x != 2 { panic("found ", x, ", expected 2\n"); } - } + var x int = 1; + if x != 1 { panic("found ", x, ", expected 1\n"); } + { + var x int = x + 1; + if x != 2 { panic("found ", x, ", expected 2\n"); } + } + { + x := x + 1; + if x != 2 { panic("found ", x, ", expected 2\n"); } + } } |