Skip to content

Commit 9d453c6

Browse files
authored
Merge pull request #610 from ruby/use-realpath-osx-tempdir
Expand temp dir used by File.realpath.
2 parents 5544b12 + 3f75886 commit 9d453c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_rdoc_rdoc.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ def test_normalized_file_list_with_dot_doc
200200
expected_files << a
201201
expected_files << b
202202

203-
@rdoc.normalized_file_list [dir]
203+
@rdoc.normalized_file_list [File.realpath(dir)]
204204
end
205205

206206
files = files.map { |file| File.expand_path file }
@@ -227,7 +227,7 @@ def test_normalized_file_list_with_dot_doc_overridden_by_exclude_option
227227
expected_files << a
228228

229229
@rdoc.options.exclude = Regexp.new(['b.rb'].join('|'))
230-
@rdoc.normalized_file_list [dir]
230+
@rdoc.normalized_file_list [File.realpath(dir)]
231231
end
232232

233233
files = files.map { |file| File.expand_path file }

0 commit comments

Comments
 (0)