From cbc40bb130fb52f1990ce1fd41e834a5f3fdbcdd Mon Sep 17 00:00:00 2001 From: Stan Lo Date: Sat, 3 Aug 2024 11:29:40 +0100 Subject: Sync rdoc --- test/rdoc/test_rdoc_rdoc.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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 -- cgit v1.2.3