diff --git a/dev-test/tests/assertion.lua b/dev-test/tests/assertion.lua index 5a0b1aa..2dae3d6 100644 --- a/dev-test/tests/assertion.lua +++ b/dev-test/tests/assertion.lua @@ -1,9 +1,9 @@ local loaded = {} local linked = {} -local LUA_NAN_ARITHMETIC = 0 / 0 -local LUA_NAN_CANONICAL = 0 / 0 -local LUA_NAN_DEFAULT = 0 / 0 +local LUA_NAN_ARITHMETIC = -(0 / 0) +local LUA_NAN_CANONICAL = -(0 / 0) +local LUA_NAN_DEFAULT = -(0 / 0) local LUA_INFINITY = math.huge local function is_number_equality(lhs, rhs)