mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
luajit has different behavior. What a surprise.
This commit is contained in:
parent
a3d6f8044c
commit
a1e3dabe36
|
@ -63,7 +63,6 @@ TEST_CASE("environments/get", "Envronments can be taken out of things like Lua f
|
||||||
[&lua](sol::function target) {
|
[&lua](sol::function target) {
|
||||||
sol::stack_guard sg(lua);
|
sol::stack_guard sg(lua);
|
||||||
sol::environment target_env = sol::get_environment(target);
|
sol::environment target_env = sol::get_environment(target);
|
||||||
REQUIRE_FALSE(target_env.valid());
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user