summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2017-12-13 08:45:46 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2017-12-13 08:45:46 +0900
commite14387440e61016f75d12f19bcb16107e4705f82 (patch)
treefdf07c00289a92644bcc742980f1bd4a42f91f48 /test
parent11b6696ce24921f03236631905b123ffce12321c (diff)
downloadmruby-e14387440e61016f75d12f19bcb16107e4705f82.tar.gz
mruby-e14387440e61016f75d12f19bcb16107e4705f82.zip
Skip `test/t/float.rb` tests; ref #3827
Diffstat (limited to 'test')
-rw-r--r--test/t/float.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/t/float.rb b/test/t/float.rb
index 7e8c98988..92f7a15f1 100644
--- a/test/t/float.rb
+++ b/test/t/float.rb
@@ -1,6 +1,8 @@
##
# Float ISO Test
+if class_defined?("Float")
+
assert('Float', '15.2.9') do
assert_equal Class, Float.class
end
@@ -203,3 +205,5 @@ assert('Float#>>') do
# Don't raise on large Right Shift
assert_equal(-1, -23.0 >> 128)
end
+
+end # class_defined?("Float")