Sync rdoc

This commit is contained in:
Stan Lo 2024-08-03 11:29:40 +01:00 committed by Hiroshi SHIBATA
parent 7d5cb4573d
commit cbc40bb130
Notes: git 2024-08-05 00:28:28 +00:00
15 changed files with 115 additions and 36 deletions

View file

@ -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