[ruby-cvs:68702] ko1:r61521 (trunk): fix reset order.

ko1 at ruby-lang.org ko1 at ruby-lang.org
Sun Dec 31 09:06:34 JST 2017


ko1	2017-12-31 09:06:34 +0900 (Sun, 31 Dec 2017)

  New Revision: 61521

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61521

  Log:
    fix reset order.
    
    * lib/rdoc/test_case.rb (setup): call `RDoc::Markup::PreProcess.reset`
      at the end of `setup` method.
      `RDoc::RDoc.new` requires `rdoc/generator/darkfish`
      and requires `rdoc/tom_doc.rb` at last. It add post_proecssor
      (at `add_post_processor`) and it fails
      `TestRDocMarkupPreProcess#test_class_post_process`.
      This issue occured only with sorted tests by alphabetical order.
      `make test-all TESTS='rdoc/test_rdoc_markup_pre_process.rb --test-order=alpha`)
      We can observe this failure with parallel test only a few times.

  Modified files:
    trunk/lib/rdoc/test_case.rb


More information about the ruby-cvs mailing list