diff options
Diffstat (limited to 'test/if.go')
-rw-r--r-- | test/if.go | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/test/if.go b/test/if.go index db1fe8b79..c1bb69d27 100644 --- a/test/if.go +++ b/test/if.go @@ -45,18 +45,6 @@ func main() { assertequal(count, 0, "if false one") count = 0 - if { - count = count + 1 - } - assertequal(count, 1, "if empty") - - count = 0 - if one := 1; true { - count = count + one - } - assertequal(count, 1, "if empty one") - - count = 0 if i5 < i7 { count = count + 1 } |