From 25516d500236d1697900f6483e45b46f48bd6f1e Mon Sep 17 00:00:00 2001 From: ko1 Date: Sat, 22 Dec 2007 05:18:52 +0000 Subject: * bootstraptest/test_objectspace.rb: skip flozen string. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ bootstraptest/test_objectspace.rb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 351974830..0431c120b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sat Dec 22 14:17:02 2007 Koichi Sasada + + * bootstraptest/test_objectspace.rb: skip flozen string. + Sat Dec 22 14:02:58 2007 Koichi Sasada * array.c (rb_ary_permutation): add volatile to avoid GC problem. 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 } -- cgit