summaryrefslogtreecommitdiff
path: root/test/ruby/test_arithmetic_sequence.rb
diff options
context:
space:
mode:
authorYusuke Endoh <[email protected]>2020-12-10 00:16:49 +0900
committerYusuke Endoh <[email protected]>2020-12-10 00:16:49 +0900
commit3156fb0f2c3ebf8229f392c8502c08fe165ab181 (patch)
treeb2b315eae2d0c102f6c9abab234071db89cea820 /test/ruby/test_arithmetic_sequence.rb
parentfad3023e94c45e7f03478732f7641b6f39ba9d12 (diff)
test/ruby/test_arithmetic_sequence.rb: remove a duplicated test
There is another "test_last_bug17218"
Diffstat (limited to 'test/ruby/test_arithmetic_sequence.rb')
-rw-r--r--test/ruby/test_arithmetic_sequence.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/ruby/test_arithmetic_sequence.rb b/test/ruby/test_arithmetic_sequence.rb
index a1193637ef..80e3da0c7d 100644
--- a/test/ruby/test_arithmetic_sequence.rb
+++ b/test/ruby/test_arithmetic_sequence.rb
@@ -264,11 +264,6 @@ class TestArithmeticSequence < Test::Unit::TestCase
assert_instance_of Integer, res[1]
end
- def test_last_bug17218
- seq = (1.0997r .. 1.1r).step(0.0001r)
- assert_equal(1.1r, seq.last, '[ruby-core:100312] [Bug #17218]')
- end
-
def test_to_a
assert_equal([1, 2, 3, 4, 5, 6, 7, 8, 9, 10], 1.step(10).to_a)
assert_equal([1, 3, 5, 7, 9], 1.step(10, 2).to_a)