diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-04-11 12:09:34 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-04-11 12:09:34 +0000 |
commit | cb915c9456b4d4dee9604129556de38715eed1b7 (patch) | |
tree | 595e71b0e84398c38cdcd45bd3cf01170ce1e972 /test | |
parent | 03e357444c85b059eebf187152a0645253e757bc (diff) | |
download | ruby-cb915c9456b4d4dee9604129556de38715eed1b7.tar.gz |
merge revision(s) 67466: [Backport #15755]
enumerator.c: force hash values fixable
* enumerator.c (arith_seq_hash): force hash values fixable on
LLP64 environment. [ruby-core:92190] [Bug #15755]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_arithmetic_sequence.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_arithmetic_sequence.rb b/test/ruby/test_arithmetic_sequence.rb index 9bff9a21c4..88fd3136cc 100644 --- a/test/ruby/test_arithmetic_sequence.rb +++ b/test/ruby/test_arithmetic_sequence.rb @@ -107,6 +107,7 @@ class TestArithmeticSequence < Test::Unit::TestCase assert_equal(seq.hash, seq.hash) assert_equal(seq.hash, 1.step.hash) assert_equal(seq.hash, 1.step(nil).hash) + assert_kind_of(String, seq.hash.to_s) end def test_first |