1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Remove spec testing undefined behavior

Fixes [Bug #15432]
This commit is contained in:
Jeremy Evans 2019-06-13 07:55:26 -07:00
parent 208cc6e3d0
commit a0af60c7f2

View file

@ -43,9 +43,4 @@ describe "Array#==" do
obj.should_receive(:==).and_return(true)
[obj].should == [5]
end
# As per bug #1720
it "returns false for [NaN] == [NaN]" do
[nan_value].should_not == [nan_value]
end
end