diff options
Diffstat (limited to 'unit_tests/scripts')
| -rw-r--r-- | unit_tests/scripts/coro/yielding_in_non_coro_errors.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/unit_tests/scripts/coro/yielding_in_non_coro_errors.lua b/unit_tests/scripts/coro/yielding_in_non_coro_errors.lua index 88d5fe0..fc0c072 100644 --- a/unit_tests/scripts/coro/yielding_in_non_coro_errors.lua +++ b/unit_tests/scripts/coro/yielding_in_non_coro_errors.lua | |||
| @@ -20,7 +20,8 @@ local msgs = { | |||
| 20 | ["Lua 5.1"] = jit and "attempt to yield across C-call boundary" or "attempt to yield across metamethod/C-call boundary", | 20 | ["Lua 5.1"] = jit and "attempt to yield across C-call boundary" or "attempt to yield across metamethod/C-call boundary", |
| 21 | ["Lua 5.2"] = "attempt to yield from outside a coroutine", | 21 | ["Lua 5.2"] = "attempt to yield from outside a coroutine", |
| 22 | ["Lua 5.3"] = "attempt to yield from outside a coroutine", | 22 | ["Lua 5.3"] = "attempt to yield from outside a coroutine", |
| 23 | ["Lua 5.4"] = "attempt to yield from outside a coroutine" | 23 | ["Lua 5.4"] = "attempt to yield from outside a coroutine", |
| 24 | ["Lua 5.5"] = "attempt to yield from outside a coroutine" | ||
| 24 | } | 25 | } |
| 25 | local expected_msg = msgs[_VERSION] | 26 | local expected_msg = msgs[_VERSION] |
| 26 | PRINT("expected_msg = " .. expected_msg) | 27 | PRINT("expected_msg = " .. expected_msg) |
