add a test for [ruby-dev:31982].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
78c4cc29ae
commit
04da3111ef
@ -21,3 +21,15 @@ assert_not_match /method_missing/, %q{
|
||||
STDERR.reopen(STDOUT)
|
||||
variable_or_mehtod_not_exist
|
||||
}
|
||||
|
||||
assert_normal_exit %q{
|
||||
ary = (1..10).to_a
|
||||
ary.permutation(2) {|x|
|
||||
if x == [1,2]
|
||||
ObjectSpace.each_object(String) {|s|
|
||||
s.clear if s.length == 40 || s.length == 80
|
||||
}
|
||||
end
|
||||
}
|
||||
}, '[ruby-dev:31982]'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user