diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-22 05:18:52 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-22 05:18:52 +0000 |
commit | e6f67598e9466a5cb95fc0a8ed487b04c764f361 (patch) | |
tree | e8efa002ebd676485d221cd60042440a9c7c7549 /bootstraptest | |
parent | dd6ab4f3d5ba92c57d999f0ab4cbcb8c401af3d6 (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')
-rw-r--r-- | bootstraptest/test_objectspace.rb | 2 |
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 } |