summaryrefslogtreecommitdiff
path: root/test/for.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/for.go')
-rw-r--r--test/for.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/for.go b/test/for.go
index dbdb43323..05260ff88 100644
--- a/test/for.go
+++ b/test/for.go
@@ -8,8 +8,8 @@ package main
func assertequal(is, shouldbe int, msg string) {
if is != shouldbe {
- print "assertion fail", msg, "\n";
- panic 1;
+ print("assertion fail", msg, "\n");
+ panic(1);
}
}