aboutsummaryrefslogtreecommitdiffstats
path: root/test/objspace
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-16 08:38:55 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-16 08:38:55 +0000
commit5a174881895346234523ea01ae9ebc528132c917 (patch)
tree7e91cd096505c7fb4c3d04a1a608ce0ffd3d2c5a /test/objspace
parentd51065b011692fe5906eeef4ebc20466934689e9 (diff)
downloadruby-5a174881895346234523ea01ae9ebc528132c917.tar.gz
* test/objspace/test_objspace.rb: relax pattern because uncollectible
flag and marked flag can be false at major GC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/objspace')
-rw-r--r--test/objspace/test_objspace.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/objspace/test_objspace.rb b/test/objspace/test_objspace.rb
index 8845b83c4e..0f0c904511 100644
--- a/test/objspace/test_objspace.rb
+++ b/test/objspace/test_objspace.rb
@@ -205,7 +205,7 @@ class TestObjSpace < Test::Unit::TestCase
def test_dump_flags
info = ObjectSpace.dump("foo".freeze)
- assert_match /"wb_protected":true, "old":true, "uncollectible":true, "marked":true/, info
+ assert_match /"wb_protected":true, "old":true/, info
assert_match /"fstring":true/, info
end