summaryrefslogtreecommitdiff
path: root/test/rdoc/test_rdoc_options.rb
diff options
context:
space:
mode:
authorStan Lo <[email protected]>2024-12-17 03:34:56 +0800
committergit <[email protected]>2024-12-16 19:35:00 +0000
commita6fd6cb72f22531cc3cc976de99c5f9eccbf7101 (patch)
tree70c7090d4e5fca60926509e4c62f2755a246bc22 /test/rdoc/test_rdoc_options.rb
parent80b8feb929be08bd718518a57d2b549c8dab80b3 (diff)
[ruby/rdoc] Print warnings for rdoc-ref links that can't be resolved
(https://github.com/ruby/rdoc/pull/1241) https://github.com/ruby/rdoc/commit/4a5206ae56
Diffstat (limited to 'test/rdoc/test_rdoc_options.rb')
-rw-r--r--test/rdoc/test_rdoc_options.rb43
1 files changed, 22 insertions, 21 deletions
diff --git a/test/rdoc/test_rdoc_options.rb b/test/rdoc/test_rdoc_options.rb
index 1fc56b2d5e..eb8477483c 100644
--- a/test/rdoc/test_rdoc_options.rb
+++ b/test/rdoc/test_rdoc_options.rb
@@ -63,27 +63,28 @@ class TestRDocOptions < RDoc::TestCase
encoding = 'UTF-8'
expected = {
- 'charset' => 'UTF-8',
- 'encoding' => encoding,
- 'embed_mixins' => false,
- 'exclude' => %w[~\z \.orig\z \.rej\z \.bak\z \.gemspec\z],
- 'hyperlink_all' => false,
- 'line_numbers' => false,
- 'locale_dir' => 'locale',
- 'locale_name' => nil,
- 'main_page' => nil,
- 'markup' => 'rdoc',
- 'output_decoration' => true,
- 'page_dir' => nil,
- 'rdoc_include' => [],
- 'show_hash' => false,
- 'static_path' => [],
- 'tab_width' => 8,
- 'template_stylesheets' => [],
- 'title' => nil,
- 'visibility' => :protected,
- 'webcvs' => nil,
- 'skip_tests' => true,
+ 'charset' => 'UTF-8',
+ 'encoding' => encoding,
+ 'embed_mixins' => false,
+ 'exclude' => %w[~\z \.orig\z \.rej\z \.bak\z \.gemspec\z],
+ 'hyperlink_all' => false,
+ 'line_numbers' => false,
+ 'locale_dir' => 'locale',
+ 'locale_name' => nil,
+ 'main_page' => nil,
+ 'markup' => 'rdoc',
+ 'output_decoration' => true,
+ 'page_dir' => nil,
+ 'rdoc_include' => [],
+ 'show_hash' => false,
+ 'static_path' => [],
+ 'tab_width' => 8,
+ 'template_stylesheets' => [],
+ 'title' => nil,
+ 'visibility' => :protected,
+ 'warn_missing_rdoc_ref' => false,
+ 'webcvs' => nil,
+ 'skip_tests' => true,
}
assert_equal expected, coder