* 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
@ -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…
x
Reference in New Issue
Block a user