1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/rdoc
Kazuhiro NISHIYAMA 36ed700711
Fix failures of test/rdoc/test_rdoc_ri_paths.rb
yield `home_dir` when HOMEDIR is not falsy only.
d0f41aa238/lib/rdoc/ri/paths.rb (L43)
```
    yield home_dir,    :home   if home and HOMEDIR
```

https://rubyci.org/logs/rubyci.s3.amazonaws.com/archlinux/ruby-master/log/20200426T033503Z.fail.html.gz
```
  1) Failure:
TestRDocRIPaths#test_class_each [/home/chkbuild/build/20200426T033503Z/ruby/test/rdoc/test_rdoc_ri_paths.rb:54]:
<nil> expected but was
<"/home/naruse/chkbuild/tmp/build/20200426T033503Z/tmp/test_rdoc_ri_paths_1033468/doc/nodoc-1.0/ri">.

  2) Failure:
TestRDocRIPaths#test_class_raw_path [/home/chkbuild/build/20200426T033503Z/ruby/test/rdoc/test_rdoc_ri_paths.rb:131]:
<nil> expected but was
<"/home/naruse/chkbuild/tmp/build/20200426T033503Z/tmp/test_rdoc_ri_paths_1033468/doc/rake-10.0.1/ri">.

  3) Failure:
TestRDocRIPaths#test_class_raw_path_extra_dirs [/home/chkbuild/build/20200426T033503Z/ruby/test/rdoc/test_rdoc_ri_paths.rb:141]:
<nil> expected but was
<"/home/naruse/chkbuild/tmp/build/20200426T033503Z/tmp/test_rdoc_ri_paths_1033468/doc/rake-10.0.1/ri">.
```
2020-04-26 16:14:14 +09:00
..
MarkdownTest_1.0.3 Fixed misspellings 2019-12-20 12:19:45 +09:00
support Remove and Restore the original HOME dir (#3057) 2020-04-24 21:22:05 +09:00
binary.dat
helper.rb Removed test_case files from lib directory. 2019-08-17 20:20:04 +09:00
hidden.zip.txt
README
test.ja.largedoc
test.ja.rdoc
test.ja.txt
test.txt
test_rdoc_alias.rb
test_rdoc_any_method.rb Separate RDoc::TokenStream#add_tokens and #add_token 2019-08-16 06:02:45 +09:00
test_rdoc_attr.rb Renamed minitest_helper.rb as helper.rb 2019-08-16 06:07:11 +09:00
test_rdoc_class_module.rb
test_rdoc_code_object.rb
test_rdoc_comment.rb Use assert_raise and skip for test/unit 2019-08-16 06:45:36 +09:00
test_rdoc_constant.rb
test_rdoc_context.rb
test_rdoc_context_section.rb [ruby/rdoc] Removed RDoc::Context::Section#sequence 2020-02-20 18:06:19 +09:00
test_rdoc_cross_reference.rb
test_rdoc_encoding.rb Use assert_raise and skip for test/unit 2019-08-16 06:45:36 +09:00
test_rdoc_extend.rb
test_rdoc_generator_darkfish.rb Renamed minitest_helper.rb as helper.rb 2019-08-16 06:07:11 +09:00
test_rdoc_generator_json_index.rb Revert "Revert "[ruby/rdoc] Use omit of test-unit instead of skip of minitest"" 2019-10-29 13:16:31 +09:00
test_rdoc_generator_markup.rb Renamed minitest_helper.rb as helper.rb 2019-08-16 06:07:11 +09:00
test_rdoc_generator_pot.rb Renamed minitest_helper.rb as helper.rb 2019-08-16 06:07:11 +09:00
test_rdoc_generator_pot_po.rb Renamed minitest_helper.rb as helper.rb 2019-08-16 06:07:11 +09:00
test_rdoc_generator_pot_po_entry.rb Renamed minitest_helper.rb as helper.rb 2019-08-16 06:07:11 +09:00
test_rdoc_generator_ri.rb Renamed minitest_helper.rb as helper.rb 2019-08-16 06:07:11 +09:00
test_rdoc_i18n_locale.rb Revert "Revert "[ruby/rdoc] Use omit of test-unit instead of skip of minitest"" 2019-10-29 13:16:31 +09:00
test_rdoc_i18n_text.rb Renamed minitest_helper.rb as helper.rb 2019-08-16 06:07:11 +09:00
test_rdoc_include.rb
test_rdoc_markdown.rb [ruby/rdoc] HOME is preserved by RDoc::TestCase 2020-04-25 02:49:37 +09:00
test_rdoc_markdown_test.rb Fixed misspellings 2019-12-20 12:19:45 +09:00
test_rdoc_markup.rb Renamed minitest_helper.rb as helper.rb 2019-08-16 06:07:11 +09:00
test_rdoc_markup_attribute_manager.rb Make (#methodname) a link 2019-10-26 15:48:11 +09:00
test_rdoc_markup_attributes.rb Renamed minitest_helper.rb as helper.rb 2019-08-16 06:07:11 +09:00
test_rdoc_markup_document.rb Use assert_raise and skip for test/unit 2019-08-16 06:45:36 +09:00
test_rdoc_markup_formatter.rb Renamed minitest_helper.rb as helper.rb 2019-08-16 06:07:11 +09:00
test_rdoc_markup_hard_break.rb Renamed minitest_helper.rb as helper.rb 2019-08-16 06:07:11 +09:00
test_rdoc_markup_heading.rb Renamed minitest_helper.rb as helper.rb 2019-08-16 06:07:11 +09:00
test_rdoc_markup_include.rb Renamed minitest_helper.rb as helper.rb 2019-08-16 06:07:11 +09:00
test_rdoc_markup_indented_paragraph.rb Renamed minitest_helper.rb as helper.rb 2019-08-16 06:07:11 +09:00
test_rdoc_markup_paragraph.rb Renamed minitest_helper.rb as helper.rb 2019-08-16 06:07:11 +09:00
test_rdoc_markup_parser.rb Use assert_raise and skip for test/unit 2019-08-16 06:45:36 +09:00
test_rdoc_markup_pre_process.rb Renamed minitest_helper.rb as helper.rb 2019-08-16 06:07:11 +09:00
test_rdoc_markup_raw.rb Renamed minitest_helper.rb as helper.rb 2019-08-16 06:07:11 +09:00
test_rdoc_markup_to_ansi.rb Renamed minitest_helper.rb as helper.rb 2019-08-16 06:07:11 +09:00
test_rdoc_markup_to_bs.rb Renamed minitest_helper.rb as helper.rb 2019-08-16 06:07:11 +09:00
test_rdoc_markup_to_html.rb Renamed minitest_helper.rb as helper.rb 2019-08-16 06:07:11 +09:00
test_rdoc_markup_to_html_crossref.rb Treat linking to Markdown label correctly 2019-08-16 06:02:45 +09:00
test_rdoc_markup_to_html_snippet.rb Renamed minitest_helper.rb as helper.rb 2019-08-16 06:07:11 +09:00
test_rdoc_markup_to_joined_paragraph.rb Renamed minitest_helper.rb as helper.rb 2019-08-16 06:07:11 +09:00
test_rdoc_markup_to_label.rb Renamed minitest_helper.rb as helper.rb 2019-08-16 06:07:11 +09:00
test_rdoc_markup_to_markdown.rb Renamed minitest_helper.rb as helper.rb 2019-08-16 06:07:11 +09:00
test_rdoc_markup_to_rdoc.rb Renamed minitest_helper.rb as helper.rb 2019-08-16 06:07:11 +09:00
test_rdoc_markup_to_table_of_contents.rb Renamed minitest_helper.rb as helper.rb 2019-08-16 06:07:11 +09:00
test_rdoc_markup_to_tt_only.rb Renamed minitest_helper.rb as helper.rb 2019-08-16 06:07:11 +09:00
test_rdoc_markup_verbatim.rb Renamed minitest_helper.rb as helper.rb 2019-08-16 06:07:11 +09:00
test_rdoc_method_attr.rb
test_rdoc_normal_class.rb
test_rdoc_normal_module.rb
test_rdoc_options.rb Revert "Revert "[ruby/rdoc] Use omit of test-unit instead of skip of minitest"" 2019-10-29 13:16:31 +09:00
test_rdoc_parser.rb Revert "Revert "[ruby/rdoc] Use omit of test-unit instead of skip of minitest"" 2019-10-29 13:16:31 +09:00
test_rdoc_parser_c.rb RDoc::Parser::C: Integrate do_classes and do_modules by one regexp match 2019-08-16 06:07:11 +09:00
test_rdoc_parser_changelog.rb [ruby/rdoc] Should teardown in reverse order of setup 2020-04-25 02:49:35 +09:00
test_rdoc_parser_markdown.rb Renamed minitest_helper.rb as helper.rb 2019-08-16 06:07:11 +09:00
test_rdoc_parser_rd.rb Renamed minitest_helper.rb as helper.rb 2019-08-16 06:07:11 +09:00
test_rdoc_parser_ruby.rb [ruby/rdoc] Support newline in the middle of constant definition 2019-12-24 07:58:53 +09:00
test_rdoc_parser_simple.rb Renamed minitest_helper.rb as helper.rb 2019-08-16 06:07:11 +09:00
test_rdoc_rd.rb Renamed minitest_helper.rb as helper.rb 2019-08-16 06:07:11 +09:00
test_rdoc_rd_block_parser.rb Renamed minitest_helper.rb as helper.rb 2019-08-16 06:07:11 +09:00
test_rdoc_rd_inline.rb Renamed minitest_helper.rb as helper.rb 2019-08-16 06:07:11 +09:00
test_rdoc_rd_inline_parser.rb Renamed minitest_helper.rb as helper.rb 2019-08-16 06:07:11 +09:00
test_rdoc_rdoc.rb Revert "Revert "[ruby/rdoc] Use omit of test-unit instead of skip of minitest"" 2019-10-29 13:16:31 +09:00
test_rdoc_require.rb
test_rdoc_ri_driver.rb [ruby/rdoc] HOME is preserved by RDoc::TestCase 2020-04-25 02:49:37 +09:00
test_rdoc_ri_paths.rb Fix failures of test/rdoc/test_rdoc_ri_paths.rb 2020-04-26 16:14:14 +09:00
test_rdoc_rubygems_hook.rb Gem::TestCase is based on Minitest 2019-08-16 06:07:11 +09:00
test_rdoc_servlet.rb Fix errors when RDoc::RI::Paths::HOMEDIR is nil 2020-04-26 11:07:42 +09:00
test_rdoc_single_class.rb Renamed minitest_helper.rb as helper.rb 2019-08-16 06:07:11 +09:00
test_rdoc_stats.rb Renamed minitest_helper.rb as helper.rb 2019-08-16 06:07:11 +09:00
test_rdoc_store.rb Support XDG_* (#2174) 2020-04-23 19:16:06 +09:00
test_rdoc_task.rb [ruby/rdoc] Use assert_raise 2019-08-16 17:28:40 +09:00
test_rdoc_text.rb Renamed minitest_helper.rb as helper.rb 2019-08-16 06:07:11 +09:00
test_rdoc_token_stream.rb Renamed minitest_helper.rb as helper.rb 2019-08-16 06:07:11 +09:00
test_rdoc_tom_doc.rb Renamed minitest_helper.rb as helper.rb 2019-08-16 06:07:11 +09:00
test_rdoc_top_level.rb
xref_data.rb
xref_test_case.rb Renamed minitest_helper.rb as helper.rb 2019-08-16 06:07:11 +09:00

you don't have to