We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68f5b26 commit 835dedcCopy full SHA for 835dedc
spec/ruby/core/range/size_spec.rb
@@ -44,12 +44,12 @@
44
end
45
46
ruby_version_is "3.2" do
47
- it 'returns Float::INFINITY for all beginless ranges if the start is numeric' do
+ it 'returns Float::INFINITY for all beginless ranges if the end is numeric' do
48
(..1).size.should == Float::INFINITY
49
(...0.5).size.should == Float::INFINITY
50
51
52
- it 'returns nil for all beginless ranges if the start is numeric' do
+ it 'returns nil for all beginless ranges if the end is not numeric' do
53
(...'o').size.should == nil
54
55
0 commit comments