summaryrefslogtreecommitdiff
path: root/bootstraptest/test_objectspace.rb
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-22 05:18:52 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-22 05:18:52 +0000
commite6f67598e9466a5cb95fc0a8ed487b04c764f361 (patch)
treee8efa002ebd676485d221cd60042440a9c7c7549 /bootstraptest/test_objectspace.rb
parentdd6ab4f3d5ba92c57d999f0ab4cbcb8c401af3d6 (diff)
* bootstraptest/test_objectspace.rb: skip flozen string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest/test_objectspace.rb')
-rw-r--r--bootstraptest/test_objectspace.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstraptest/test_objectspace.rb b/bootstraptest/test_objectspace.rb
index 4f93341f72..ca738f5d63 100644
--- a/bootstraptest/test_objectspace.rb
+++ b/bootstraptest/test_objectspace.rb
@@ -17,7 +17,7 @@ assert_normal_exit %q{
ary.permutation(2) {|x|
if x == [1,2]
ObjectSpace.each_object(String) {|s|
- s.clear if s.length == 40 || s.length == 80
+ s.clear if s.frozen? && (s.length == 40 || s.length == 80)
}
end
}