summaryrefslogtreecommitdiff
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
commit6e89bead2cd159187c1b8b04969154da4365e654 (patch)
tree43028db105ceb59b039061a046904bd668df2b7e /test/if.go
parent161628d8fdf3518376c93c79558c9f72aac13d57 (diff)
downloadgo-6e89bead2cd159187c1b8b04969154da4365e654.tar.gz
- 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 2018f7018..beb7d6b0f 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");