Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed invalid spec.

Given the insanity of _id2ref, there is no guaranteed valid way to generate
an invalid reference to trigger this behavior so it is left undefined.
  • Loading branch information...
commit d905ab9da07c13e2b7d9a4ceb5bf082cd0786558 1 parent 03c04be
@brixen brixen authored
Showing with 0 additions and 5 deletions.
  1. +0 −5 core/objectspace/_id2ref_spec.rb
View
5 core/objectspace/_id2ref_spec.rb
@@ -18,9 +18,4 @@
r = ObjectSpace._id2ref(s.object_id)
r.should == s
end
-
- it "raises a RangeError for invalid immediate object_id" do
- lambda { ObjectSpace._id2ref(1073741822) }.should raise_error(RangeError)
- end
-
end
Please sign in to comment.
Something went wrong with that request. Please try again.