aboutsummaryrefslogtreecommitdiff
path: root/spec/outputs/try_catch.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--spec/outputs/try_catch.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/outputs/try_catch.lua b/spec/outputs/try_catch.lua
index d4c80c1..efd92c6 100644
--- a/spec/outputs/try_catch.lua
+++ b/spec/outputs/try_catch.lua
@@ -8,10 +8,10 @@ local _anon_func_2 = function(tb)
8 return tb.func() 8 return tb.func()
9end 9end
10local _anon_func_3 = function(tb) 10local _anon_func_3 = function(tb)
11 return tb.func() 11 return (tb.func())
12end 12end
13local _anon_func_4 = function(tb) 13local _anon_func_4 = function(tb)
14 return tb:func(1, 2, 3) 14 return (tb:func(1, 2, 3))
15end 15end
16local _anon_func_5 = function(tb) 16local _anon_func_5 = function(tb)
17 return tb.func(1) 17 return tb.func(1)
@@ -64,7 +64,7 @@ f = function()
64 print("OK") 64 print("OK")
65 end 65 end
66 if xpcall(function() 66 if xpcall(function()
67 return func(1) 67 return (func(1))
68 end, function(err) 68 end, function(err)
69 return print(err) 69 return print(err)
70 end) then 70 end) then