summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test-Lua.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-Lua.cc b/tests/test-Lua.cc
index ed6e754..9337d35 100644
--- a/tests/test-Lua.cc
+++ b/tests/test-Lua.cc
@@ -115,7 +115,7 @@ int sLua_ObjectTest::ObjectTest_proceed_static(Lua & L, int n, int caller) throw
break;
case OBJECTTEST_YIELDTEST:
- L.yield(Future<int>([=]() mutable {
+ return L.yield(Future<int>([=]() mutable {
int y = L.tonumber();
L.pop();
L.push((lua_Number) y + 1);