Skip to content

Commit

Permalink
Disable a specs for Range#reverse_each that fails on Ruby 3.4.0 preview
Browse files Browse the repository at this point in the history
  • Loading branch information
andrykonchin committed Dec 9, 2024
1 parent 7c390dc commit 4aa40aa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions core/range/reverse_each_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,10 @@
(1..3).reverse_each.size.should == 3
end

it "returns Infinity when Range size is infinite" do
(..3).reverse_each.size.should == Float::INFINITY
ruby_bug "#20936", "3.4"..."3.5" do
it "returns Infinity when Range size is infinite" do
(..3).reverse_each.size.should == Float::INFINITY
end
end

it "returns nil when Range size is unknown" do
Expand Down

0 comments on commit 4aa40aa

Please sign in to comment.