mirror of
https://github.com/ruby/ruby.git
synced 2025-08-26 22:45:03 +02:00
Fix for r33811.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
18b520443c
commit
cc56bdee40
3 changed files with 6 additions and 2 deletions
|
@ -520,6 +520,8 @@ class TestFloat < Test::Unit::TestCase
|
|||
(1.0..12.7).step(1.3).each do |n|
|
||||
assert_operator(n, :<=, 12.7)
|
||||
end
|
||||
|
||||
assert_equal([5.0, 4.0, 3.0, 2.0], 5.0.step(1.5, -1).to_a)
|
||||
end
|
||||
|
||||
def test_step_excl
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue