summaryrefslogtreecommitdiff
path: root/test/switch.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/switch.go')
-rw-r--r--test/switch.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/switch.go b/test/switch.go
index af1dc8fb9..f68542053 100644
--- a/test/switch.go
+++ b/test/switch.go
@@ -8,8 +8,8 @@ package main
func assert(cond bool, msg string) {
if !cond {
- print "assertion fail: ", msg, "\n";
- panic 1;
+ print("assertion fail: ", msg, "\n");
+ panic(1);
}
}