mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
d51065b011
commit
5a17488189
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Tue Jun 16 17:37:01 2015 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
|
* test/objspace/test_objspace.rb: relax pattern because uncollectible
|
||||||
|
flag and marked flag can be false at major GC.
|
||||||
|
|
||||||
Tue Jun 16 04:50:44 2015 Eric Wong <e@80x24.org>
|
Tue Jun 16 04:50:44 2015 Eric Wong <e@80x24.org>
|
||||||
|
|
||||||
* ext/socket/basicsocket.c (bsock_recv): document outbuf
|
* ext/socket/basicsocket.c (bsock_recv): document outbuf
|
||||||
|
|
|
@ -205,7 +205,7 @@ class TestObjSpace < Test::Unit::TestCase
|
||||||
|
|
||||||
def test_dump_flags
|
def test_dump_flags
|
||||||
info = ObjectSpace.dump("foo".freeze)
|
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
|
assert_match /"fstring":true/, info
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue