diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2016-11-22 17:59:25 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2016-11-22 18:00:04 +0900 |
| commit | fb7776586e4230cdc00077dca6bc6399bc8783f2 (patch) | |
| tree | 42ed72a9a1d4127bc82df8c1671849f2c2449095 /test | |
| parent | be73905c9c3ab8f684551506da219b170ee9c6dc (diff) | |
| download | mruby-fb7776586e4230cdc00077dca6bc6399bc8783f2.tar.gz mruby-fb7776586e4230cdc00077dca6bc6399bc8783f2.zip | |
hash value may be overflown from Integer
mruby special.
Diffstat (limited to 'test')
| -rw-r--r-- | test/t/array.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/t/array.rb b/test/t/array.rb index d887c117b..3c5211591 100644 --- a/test/t/array.rb +++ b/test/t/array.rb @@ -318,7 +318,8 @@ end assert('Array#hash', '15.2.12.5.35') do a = [ 1, 2, 3 ] - assert_true(a.hash.is_a? Integer) + #assert_true(a.hash.is_a? Integer) + assert_true(a.hash.is_a? Integral) # mruby special assert_equal([1,2].hash, [1,2].hash) end |
