diff options
author | Ondřej Surý <ondrej@sury.org> | 2011-01-17 12:40:45 +0100 |
---|---|---|
committer | Ondřej Surý <ondrej@sury.org> | 2011-01-17 12:40:45 +0100 |
commit | 3e45412327a2654a77944249962b3652e6142299 (patch) | |
tree | bc3bf69452afa055423cbe0c5cfa8ca357df6ccf /test/switch1.go | |
parent | c533680039762cacbc37db8dc7eed074c3e497be (diff) | |
download | golang-upstream/2011.01.12.tar.gz |
Imported Upstream version 2011.01.12upstream/2011.01.12
Diffstat (limited to 'test/switch1.go')
-rw-r--r-- | test/switch1.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/switch1.go b/test/switch1.go index 9e61cc658..5bd9d7c5d 100644 --- a/test/switch1.go +++ b/test/switch1.go @@ -9,12 +9,12 @@ package main import "os" func main() { - i := 0; + i := 0 switch x := 5; { case i < x: - os.Exit(0); + os.Exit(0) case i == x: case i > x: - os.Exit(1); + os.Exit(1) } } |