summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorStan Lo <[email protected]>2024-08-03 11:29:40 +0100
committerHiroshi SHIBATA <[email protected]>2024-08-05 08:27:45 +0800
commitcbc40bb130fb52f1990ce1fd41e834a5f3fdbcdd (patch)
tree56845ee9fb311d5f7fb952c0392eecac93759e5f /test
parent7d5cb4573d39e5c62058314dcfc73895b4e6dffd (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.rb2
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