From bbcbd41efef95f7a30f78769bf3f8769b738723c Mon Sep 17 00:00:00 2001 From: ThePhD Date: Sat, 10 Dec 2016 06:15:39 -0500 Subject: [PATCH] Write the test properly! --- test_storage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_storage.cpp b/test_storage.cpp index 2a93217a..f2b73aff 100644 --- a/test_storage.cpp +++ b/test_storage.cpp @@ -28,7 +28,7 @@ TEST_CASE("storage/main-thread", "ensure round-tripping and pulling out thread d { sol::stack_guard g(lua); lua_State* orig = lua; - lua_State* ts = sol::main_thread(lua); + lua_State* ts = sol::main_thread(lua, lua); REQUIRE(ts == orig); } }