diff options
Diffstat (limited to 'test/func.go')
-rw-r--r-- | test/func.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/func.go b/test/func.go index 56d392b0cf..ee9414ddc4 100644 --- a/test/func.go +++ b/test/func.go @@ -9,8 +9,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); } } |