diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-05 13:30:39 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-05 13:30:39 +0000 |
commit | 8cffe06a04e2107c765a32a0b8b8bbe2b02f2ef0 (patch) | |
tree | f309dc19944f29ef05209e5f527b0bcfc7cc2994 /test/objspace/test_objspace.rb | |
parent | 1a1c0aeb50d3faa919db178e7d237dd5388e6710 (diff) | |
download | ruby-8cffe06a04e2107c765a32a0b8b8bbe2b02f2ef0.tar.gz |
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
Diffstat (limited to 'test/objspace/test_objspace.rb')
-rw-r--r-- | test/objspace/test_objspace.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/objspace/test_objspace.rb b/test/objspace/test_objspace.rb index f8d1c405e8..38fd9bd46f 100644 --- a/test/objspace/test_objspace.rb +++ b/test/objspace/test_objspace.rb @@ -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 |