diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-10-09 08:15:37 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-10-09 08:15:37 +0000 |
commit | 44ee78db94567e6550fcc83bea5d4cac325cf3e0 (patch) | |
tree | 32d923263692534fe0aa2c804c35b90b2debe1eb | |
parent | 81b55c0ff3c5d84e0cbf6b630b5ccb38e7680729 (diff) | |
download | ruby-44ee78db94567e6550fcc83bea5d4cac325cf3e0.tar.gz |
add a test for [ruby-dev:31985].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | bootstraptest/test_knownbug.rb | 9 |
1 files changed, 9 insertions, 0 deletions
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]' + |