diff options
Diffstat (limited to 'test/literal.go')
-rw-r--r-- | test/literal.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/literal.go b/test/literal.go index 6681243bd..673a53c7d 100644 --- a/test/literal.go +++ b/test/literal.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); } } |