diff --git a/test/test_rdoc_rdoc.rb b/test/test_rdoc_rdoc.rb index 7c54e543f9..4014ecfa54 100644 --- a/test/test_rdoc_rdoc.rb +++ b/test/test_rdoc_rdoc.rb @@ -200,7 +200,7 @@ def test_normalized_file_list_with_dot_doc expected_files << a expected_files << b - @rdoc.normalized_file_list [dir] + @rdoc.normalized_file_list [File.realpath(dir)] end files = files.map { |file| File.expand_path file } @@ -227,7 +227,7 @@ def test_normalized_file_list_with_dot_doc_overridden_by_exclude_option expected_files << a @rdoc.options.exclude = Regexp.new(['b.rb'].join('|')) - @rdoc.normalized_file_list [dir] + @rdoc.normalized_file_list [File.realpath(dir)] end files = files.map { |file| File.expand_path file }