diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-08-20 17:12:09 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-08-21 15:25:59 +0900 |
| commit | 8ca40da3fe49d01b31ef4258ff578c9dd61f09b4 (patch) | |
| tree | d5f09932e0fd448073ab25bcd80122a3da5b757d | |
| parent | 3b4c4caddc0bff94fed37d2eeae81341ef5c6547 (diff) | |
| download | mruby-8ca40da3fe49d01b31ef4258ff578c9dd61f09b4.tar.gz mruby-8ca40da3fe49d01b31ef4258ff578c9dd61f09b4.zip | |
test/float.rb: avoid `1.0e16` in tests without precision specified.
| -rw-r--r-- | test/t/float.rb | 2 |
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 |
