mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
test_objspace.rb: show error
* test/objspace/test_objspace.rb (test_dump_all): show error output if nothing dumped. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1a1c0aeb50
commit
8cffe06a04
1 changed files with 1 additions and 0 deletions
|
@ -254,6 +254,7 @@ class TestObjSpace < Test::Unit::TestCase
|
|||
puts dump_my_heap_please
|
||||
end;
|
||||
skip if /is not supported/ =~ error
|
||||
skip error unless output
|
||||
assert_match(entry, File.readlines(output).grep(/TEST STRING/).join("\n"))
|
||||
File.unlink(output)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue