summaryrefslogtreecommitdiffstats
path: root/bootstraptest/test_finalizer.rb
blob: 22a16b1220e7840cc0a816b0b79e7bd356a66e09 (plain)
1
2
3
4
5
6
7
8
assert_normal_exit %q{
a1,a2,b1,b2=Array.new(4){""}
ObjectSpace.define_finalizer(b2,proc{})
ObjectSpace.define_finalizer(b1,proc{b1.inspect})

ObjectSpace.define_finalizer(a2,proc{a1.inspect})
ObjectSpace.define_finalizer(a1,proc{})
}, '[ruby-dev:35778]'