summaryrefslogtreecommitdiff
path: root/test/if1.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/if1.go')
-rw-r--r--test/if1.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/if1.go b/test/if1.go
index 81b041475..1784d8239 100644
--- a/test/if1.go
+++ b/test/if1.go
@@ -9,10 +9,10 @@ package main
func main() {
count := 7;
if one := 1; {
- count = count + one
+ count = count + one
}
if count != 8 {
print(count, " should be 8\n");
- sys.exit(1)
+ sys.Exit(1)
}
}