mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Write the test properly!
This commit is contained in:
parent
ad010adcad
commit
bbcbd41efe
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user