diff options
author | Stan Lo <[email protected]> | 2024-08-03 11:29:40 +0100 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2024-08-05 08:27:45 +0800 |
commit | cbc40bb130fb52f1990ce1fd41e834a5f3fdbcdd (patch) | |
tree | 56845ee9fb311d5f7fb952c0392eecac93759e5f /test | |
parent | 7d5cb4573d39e5c62058314dcfc73895b4e6dffd (diff) |
Sync rdoc
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/11308
Diffstat (limited to 'test')
-rw-r--r-- | test/rdoc/test_rdoc_rdoc.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rdoc/test_rdoc_rdoc.rb b/test/rdoc/test_rdoc_rdoc.rb index 5168932430..9c94988ffd 100644 --- a/test/rdoc/test_rdoc_rdoc.rb +++ b/test/rdoc/test_rdoc_rdoc.rb @@ -194,7 +194,7 @@ class TestRDocRDoc < RDoc::TestCase File.write('.document', "a.rb\n""b.rb\n") expected_files << a - @rdoc.options.exclude = Regexp.new(['b.rb'].join('|')) + @rdoc.options.exclude = /b\.rb$/ @rdoc.normalized_file_list [File.realpath(dir)] end |