ruby-changes:49291
From: ko1 <ko1@a...>
Date: Fri, 22 Dec 2017 14:15:52 +0900 (JST)
Subject: [ruby-changes:49291] ko1:r61408 (trunk): fix a test for debugging.
ko1 2017-12-22 14:15:45 +0900 (Fri, 22 Dec 2017) New Revision: 61408 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61408 Log: fix a test for debugging. * test/rdoc/test_rdoc_markup_pre_process.rb: show `RDoc::Markup::PreProcess.post_processors` as a failure message for debugging. Modified files: trunk/test/rdoc/test_rdoc_markup_pre_process.rb Index: test/rdoc/test_rdoc_markup_pre_process.rb =================================================================== --- test/rdoc/test_rdoc_markup_pre_process.rb (revision 61407) +++ test/rdoc/test_rdoc_markup_pre_process.rb (revision 61408) @@ -29,7 +29,8 @@ class TestRDocMarkupPreProcess < RDoc::T https://github.com/ruby/ruby/blob/trunk/test/rdoc/test_rdoc_markup_pre_process.rb#L29 def test_class_post_process RDoc::Markup::PreProcess.post_process do end - assert_equal 1, RDoc::Markup::PreProcess.post_processors.length + assert_equal 1, RDoc::Markup::PreProcess.post_processors.length, + proc{RDoc::Markup::PreProcess.post_processors.inspect} end def test_include_file -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/