aboutsummaryrefslogtreecommitdiff
path: root/test/switch.go
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2008-06-06 15:53:14 -0700
committerRobert Griesemer <gri@golang.org>2008-06-06 15:53:14 -0700
commite92b7538102ed9ea1402fb8ce4d948da27ffd456 (patch)
tree43028db105ceb59b039061a046904bd668df2b7e /test/switch.go
parent2f538554f6ce8ec8b0cdb3c448759e1670cad1ff (diff)
downloadgo-e92b7538102ed9ea1402fb8ce4d948da27ffd456.tar.gz
go-e92b7538102ed9ea1402fb8ce4d948da27ffd456.zip
- fixed a few tests and added 3 incorrectly succeeding tests
- updated go_lang.txt to be more uniform and match the implementation - made makehtml work on Mac - fixed a couple of bugs in go.atg SVN=121520
Diffstat (limited to 'test/switch.go')
-rw-r--r--test/switch.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/switch.go b/test/switch.go
index 1184230db2..602265631e 100644
--- a/test/switch.go
+++ b/test/switch.go
@@ -35,7 +35,7 @@ func main() {
case i5 > x: assert(false, ">");
}
- switch x := 5; { // BUG?: true should not be necessary but now made mandatory in go_lang.txt
+ switch x := 5; true {
case i5 < x: assert(false, "<");
case i5 == x: assert(true, "!");
case i5 > x: assert(false, ">");