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:
parent
466e33b863
commit
ba45b0fe48
1 changed files with 6 additions and 1 deletions
|
@ -84,7 +84,12 @@ class TestRDocMarkupToHtmlCrossref < MiniTest::Unit::TestCase
|
||||||
actual_expected_result.gsub!(/\n/, " ")
|
actual_expected_result.gsub!(/\n/, " ")
|
||||||
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
|
end
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue