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 | 25516d500236d1697900f6483e45b46f48bd6f1e (patch) | |
| tree | e8efa002ebd676485d221cd60042440a9c7c7549 /bootstraptest/test_objectspace.rb | |
| parent | 70fee5d1044cdef33723acc8490a27a7998792cc (diff) | |
| download | ruby-25516d500236d1697900f6483e45b46f48bd6f1e.tar.gz ruby-25516d500236d1697900f6483e45b46f48bd6f1e.tar.xz ruby-25516d500236d1697900f6483e45b46f48bd6f1e.zip | |
* bootstraptest/test_objectspace.rb: skip flozen string.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest/test_objectspace.rb')
| -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 4f93341f7..ca738f5d6 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 } |
