diff options
Diffstat (limited to 'spec/inputs/try-catch.yue')
-rw-r--r-- | spec/inputs/try-catch.yue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/inputs/try-catch.yue b/spec/inputs/try-catch.yue index f5cb97e..7287c33 100644 --- a/spec/inputs/try-catch.yue +++ b/spec/inputs/try-catch.yue | |||
@@ -34,8 +34,8 @@ catch err | |||
34 | 34 | ||
35 | if try func 1 | 35 | if try func 1 |
36 | catch err | 36 | catch err |
37 | print err | 37 | print err |
38 | print "OK" | 38 | print "OK" |
39 | 39 | ||
40 | do | 40 | do |
41 | if success, result = try func "abc", 123 | 41 | if success, result = try func "abc", 123 |