mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Invert conditional, 'cause I'm a dumb.
This commit is contained in:
parent
5ad612d5fa
commit
2d845a273d
|
@ -1162,7 +1162,7 @@ TEST_CASE("interop/null-to-nil-and-back", "nil should be the given type when a p
|
|||
"assert(x == nil)"));
|
||||
}
|
||||
|
||||
#ifdef SOL_LUAJIT // LuaJIT does not have error message handling support for lua_pcall, and thus this test will always fail
|
||||
#ifndef SOL_LUAJIT // LuaJIT does not have error message handling support for lua_pcall, and thus this test will always fail
|
||||
TEST_CASE( "functions/function_result-protected_function", "Function result should be the beefy return type for sol::function that allows for error checking and error handlers" ) {
|
||||
sol::state lua;
|
||||
lua.open_libraries( sol::lib::base, sol::lib::debug );
|
||||
|
|
Loading…
Reference in New Issue
Block a user