diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-11-14 19:38:27 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-11-14 19:38:27 +0900 |
| commit | 19450df41e53e52260c233cfa026ba841c8a4ca0 (patch) | |
| tree | 92bbad9d9937e0d687f27662af6842c6c89c5e93 /test | |
| parent | 600e3330b3c4f170bd15e37554af533c2a3176ab (diff) | |
| download | mruby-19450df41e53e52260c233cfa026ba841c8a4ca0.tar.gz mruby-19450df41e53e52260c233cfa026ba841c8a4ca0.zip | |
Integer operation should result in Integer.
Should raise `RangeError` if the operation overflows.
Diffstat (limited to 'test')
| -rw-r--r-- | test/t/integer.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/t/integer.rb b/test/t/integer.rb index 5204eb91b..1d805ff11 100644 --- a/test/t/integer.rb +++ b/test/t/integer.rb @@ -125,10 +125,6 @@ assert('Integer#<<', '15.2.8.3.12') do assert_equal 23, 46 << -1 skip unless Object.const_defined?(:Float) - - # Overflow to Integer - assert_float 9223372036854775808.0, 1 << 63 - assert_float(-13835058055282163712.0, -3 << 62) end assert('Integer#>>', '15.2.8.3.13') do |
