summaryrefslogtreecommitdiff
path: root/bootstraptest/test_objectspace.rb
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-22 10:54:02 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-22 10:54:02 +0000
commit020fd204f8063816301f31260dc00d8e91103d97 (patch)
treebd4e935560234cc92344a2a5271f5d4d9a5ab7f0 /bootstraptest/test_objectspace.rb
parentfc5c62bef79c1d09606ba0e012d7a66e64d14270 (diff)
* bootstraptest/test_objectspace.rb: fix condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14489 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 ca738f5..1a43d42 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.frozen? && (s.length == 40 || s.length == 80)
+ s.clear if !s.frozen? && (s.length == 40 || s.length == 80)
}
end
}