summaryrefslogtreecommitdiff
path: root/test/if.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/if.go')
-rw-r--r--test/if.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/if.go b/test/if.go
index beb7d6b0f..a2c840eb1 100644
--- a/test/if.go
+++ b/test/if.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);
}
}