Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed invalid spec.

Since immediates are all frozen by default in MRI 2.1, this spec causes
a RuntimeError trying to modify a frozen value.
  • Loading branch information...
commit 12438aff08457f3f3fe1f17808afabb06cd8c7b4 1 parent d905ab9
@brixen brixen authored
Showing with 0 additions and 6 deletions.
  1. +0 −6 core/objectspace/define_finalizer_spec.rb
View
6 core/objectspace/define_finalizer_spec.rb
@@ -23,12 +23,6 @@ def handler.call(obj) end
ObjectSpace.define_finalizer("garbage", handler).should == [0, handler]
end
- it "raises ArgumentError trying to define a finalizer on a non-reference" do
- lambda {
- ObjectSpace.define_finalizer(:blah) { 1 }
- }.should raise_error(ArgumentError)
- end
-
# see [ruby-core:24095]
ruby_version_is "1.9" do
with_feature :fork do
Please sign in to comment.
Something went wrong with that request. Please try again.