summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-08-20 17:12:09 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2021-08-21 15:25:59 +0900
commit8ca40da3fe49d01b31ef4258ff578c9dd61f09b4 (patch)
treed5f09932e0fd448073ab25bcd80122a3da5b757d /test
parent3b4c4caddc0bff94fed37d2eeae81341ef5c6547 (diff)
downloadmruby-8ca40da3fe49d01b31ef4258ff578c9dd61f09b4.tar.gz
mruby-8ca40da3fe49d01b31ef4258ff578c9dd61f09b4.zip
test/float.rb: avoid `1.0e16` in tests without precision specified.
Diffstat (limited to 'test')
-rw-r--r--test/t/float.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/t/float.rb b/test/t/float.rb
index f6f6d01dd..a76dbf39b 100644
--- a/test/t/float.rb
+++ b/test/t/float.rb
@@ -277,8 +277,6 @@ assert('Float#to_s') do
assert_equal("-1.0e-10", -0.0000000001.to_s)
assert_equal("1.0e+20", 1e20.to_s)
assert_equal("-1.0e+20", -1e20.to_s)
- assert_equal("1.0e+16", 10000000000000000.0.to_s)
- assert_equal("-1.0e+16", -10000000000000000.0.to_s)
assert_equal("100000.0", 100000.0.to_s)
assert_equal("-100000.0", -100000.0.to_s)
if uses_float