diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/rdoc/test_rdoc_markup_to_html_crossref.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/rdoc/test_rdoc_markup_to_html_crossref.rb b/test/rdoc/test_rdoc_markup_to_html_crossref.rb index ccc5e9579..f3a64f203 100644 --- a/test/rdoc/test_rdoc_markup_to_html_crossref.rb +++ b/test/rdoc/test_rdoc_markup_to_html_crossref.rb @@ -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 # |