aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_arithmetic_sequence.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_arithmetic_sequence.rb')
-rw-r--r--test/ruby/test_arithmetic_sequence.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_arithmetic_sequence.rb b/test/ruby/test_arithmetic_sequence.rb
index 5817631944..45a0ab9222 100644
--- a/test/ruby/test_arithmetic_sequence.rb
+++ b/test/ruby/test_arithmetic_sequence.rb
@@ -127,6 +127,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