diff options
Diffstat (limited to 'testes/coroutine.lua')
-rw-r--r-- | testes/coroutine.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testes/coroutine.lua b/testes/coroutine.lua index b36b76ea..461e0377 100644 --- a/testes/coroutine.lua +++ b/testes/coroutine.lua | |||
@@ -205,7 +205,7 @@ do | |||
205 | co = coroutine.create(function () return pcall(foo) end) | 205 | co = coroutine.create(function () return pcall(foo) end) |
206 | local st1, st2, err = coroutine.resume(co) | 206 | local st1, st2, err = coroutine.resume(co) |
207 | assert(st1 and not st2 and err == 43) | 207 | assert(st1 and not st2 and err == 43) |
208 | assert(X == 43 and Y.name == "pcall") | 208 | assert(X == 43 and Y.what == "C") |
209 | 209 | ||
210 | -- recovering from errors in __close metamethods | 210 | -- recovering from errors in __close metamethods |
211 | local track = {} | 211 | local track = {} |