1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/rdoc/test_rdoc_markup_to_html_crossref.rb (verify_convert):

appends backtrace.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-03-07 04:20:51 +00:00
parent 466e33b863
commit ba45b0fe48

View file

@ -84,7 +84,12 @@ class TestRDocMarkupToHtmlCrossref < MiniTest::Unit::TestCase
actual_expected_result.gsub!(/\n/, " ")
result.gsub!(/\n/, " ")
assert_equal actual_expected_result, result
begin
assert_equal actual_expected_result, result
rescue MiniTest::Assertion => e
bt = caller(2)
raise e, [e.message, *bt.grep(/\A#{Regexp.quote(__FILE__)}:/o)].join("\n"), bt
end
end
#