summaryrefslogtreecommitdiff
path: root/tests/modules/math
diff options
context:
space:
mode:
Diffstat (limited to 'tests/modules/math')
-rw-r--r--tests/modules/math/test.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/modules/math/test.lua b/tests/modules/math/test.lua
index 3d05adb61..bcbd11fd3 100644
--- a/tests/modules/math/test.lua
+++ b/tests/modules/math/test.lua
@@ -4,8 +4,8 @@ function test_isinf(t)
t:require_not(math.isinf(0))
t:require_not(math.isinf(math.nan))
- t:are_same(math.isinf(math.huge), 1)
- t:are_same(math.isinf(-math.huge), -1)
+ t:are_same(math.isinf(math.inf), 1)
+ t:are_same(math.isinf(-math.inf), -1)
end
function test_isnan(t)