luajit has different behavior. What a surprise.

This commit is contained in:
ThePhD 2017-04-19 13:37:03 -04:00
parent a3d6f8044c
commit a1e3dabe36

View File

@ -63,7 +63,6 @@ TEST_CASE("environments/get", "Envronments can be taken out of things like Lua f
[&lua](sol::function target) {
sol::stack_guard sg(lua);
sol::environment target_env = sol::get_environment(target);
REQUIRE_FALSE(target_env.valid());
}
);