summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--test/t/math.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/t/math.rb b/test/t/math.rb
index d60d80ae7..025551b82 100644
--- a/test/t/math.rb
+++ b/test/t/math.rb
@@ -1,7 +1,7 @@
##
# Math Test
-if MathEnabled
+if Object.const_defined?(:Math)
assert('Math.sin 0') do
check_float(Math.sin(0), 0)
end