[Bug #19533] Add spec of infinite range inclusion
This commit is contained in:
parent
fb17c833f5
commit
60f22ebf86
Notes:
git
2023-04-14 01:22:31 +00:00
@ -10,4 +10,10 @@ describe "Range#===" do
|
||||
|
||||
it_behaves_like :range_cover_and_include, :===
|
||||
it_behaves_like :range_cover, :===
|
||||
|
||||
ruby_bug "#19533", "3.2"..."3.3" do
|
||||
it "returns true on any value if begin and end are both nil" do
|
||||
(nil..nil).should === 1
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user