Write the test properly!

This commit is contained in:
ThePhD 2016-12-10 06:15:39 -05:00
parent ad010adcad
commit bbcbd41efe

View File

@ -28,7 +28,7 @@ TEST_CASE("storage/main-thread", "ensure round-tripping and pulling out thread d
{ {
sol::stack_guard g(lua); sol::stack_guard g(lua);
lua_State* orig = lua; lua_State* orig = lua;
lua_State* ts = sol::main_thread(lua); lua_State* ts = sol::main_thread(lua, lua);
REQUIRE(ts == orig); REQUIRE(ts == orig);
} }
} }