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
test_rdoc_attr.rb
test_rdoc_class_module.rb
test_rdoc_code_object.rb
test_rdoc_comment.rb
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
test_rdoc_extend.rb
test_rdoc_generator_darkfish.rb
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
test_rdoc_generator_pot.rb
test_rdoc_generator_pot_po.rb
test_rdoc_generator_pot_po_entry.rb
test_rdoc_generator_ri.rb
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
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
test_rdoc_markup_attribute_manager.rb Make (#methodname) a link 2019-10-26 15:48:11 +09:00
test_rdoc_markup_attributes.rb
test_rdoc_markup_document.rb
test_rdoc_markup_formatter.rb
test_rdoc_markup_hard_break.rb
test_rdoc_markup_heading.rb
test_rdoc_markup_include.rb
test_rdoc_markup_indented_paragraph.rb
test_rdoc_markup_paragraph.rb
test_rdoc_markup_parser.rb
test_rdoc_markup_pre_process.rb
test_rdoc_markup_raw.rb
test_rdoc_markup_to_ansi.rb
test_rdoc_markup_to_bs.rb
test_rdoc_markup_to_html.rb
test_rdoc_markup_to_html_crossref.rb
test_rdoc_markup_to_html_snippet.rb
test_rdoc_markup_to_joined_paragraph.rb
test_rdoc_markup_to_label.rb
test_rdoc_markup_to_markdown.rb
test_rdoc_markup_to_rdoc.rb
test_rdoc_markup_to_table_of_contents.rb
test_rdoc_markup_to_tt_only.rb
test_rdoc_markup_verbatim.rb
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
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
test_rdoc_parser_rd.rb
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
test_rdoc_rd.rb
test_rdoc_rd_block_parser.rb
test_rdoc_rd_inline.rb
test_rdoc_rd_inline_parser.rb
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
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
test_rdoc_stats.rb
test_rdoc_store.rb Support XDG_* (#2174) 2020-04-23 19:16:06 +09:00
test_rdoc_task.rb
test_rdoc_text.rb
test_rdoc_token_stream.rb
test_rdoc_tom_doc.rb
test_rdoc_top_level.rb
xref_data.rb
xref_test_case.rb

you don't have to