diff --git a/src/script/test/lua.c b/src/script/test/lua.c index bf3bf099a..7790fed60 100644 --- a/src/script/test/lua.c +++ b/src/script/test/lua.c @@ -254,7 +254,7 @@ M_TEST_DEFINE(setGlobal) { assert_true(lua->setGlobal(lua, "b", NULL)); val = lua->getGlobal(lua, "b"); - assert_null(val); + assert_ptr_equal(val, &mScriptValueNull); mScriptContextDeinit(&context); }