diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb index d0a5ba81a7..8ae5dc741c 100644 --- a/bootstraptest/test_knownbug.rb +++ b/bootstraptest/test_knownbug.rb @@ -33,3 +33,12 @@ assert_normal_exit %q{ } }, '[ruby-dev:31982]' +assert_normal_exit %q{ + ary = (1..100).to_a + ary.permutation(2) {|x| + if x == [1,2] + ObjectSpace.each_object(Array) {|o| o.clear if o == ary && o.object_id != ary.object_id } + end + } +}, '[ruby-dev:31985]' +