aboutsummaryrefslogtreecommitdiff
path: root/test/if.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/if.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/if.go')
-rw-r--r--test/if.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/if.go b/test/if.go
index 2018f7018c..beb7d6b0fb 100644
--- a/test/if.go
+++ b/test/if.go
@@ -50,7 +50,7 @@ func main() {
assertequal(count, 1, "if empty");
count = 0;
- if one := 1; {
+ if one := 1; true {
count = count + one;
}
assertequal(count, 1, "if empty one");