File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -190,6 +190,10 @@ def test_normalized_file_list_with_dot_doc
190190 FileUtils . touch a
191191 FileUtils . touch b
192192 FileUtils . touch c
193+ # Use Dir.glob to convert short path of Dir.tmpdir to long path.
194+ a = Dir . glob ( a ) . first
195+ b = Dir . glob ( b ) . first
196+ c = Dir . glob ( c ) . first
193197
194198 dot_doc = File . expand_path ( '.document' )
195199 FileUtils . touch dot_doc
@@ -217,6 +221,10 @@ def test_normalized_file_list_with_dot_doc_overridden_by_exclude_option
217221 FileUtils . touch a
218222 FileUtils . touch b
219223 FileUtils . touch c
224+ # Use Dir.glob to convert short path of Dir.tmpdir to long path.
225+ a = Dir . glob ( a ) . first
226+ b = Dir . glob ( b ) . first
227+ c = Dir . glob ( c ) . first
220228
221229 dot_doc = File . expand_path ( '.document' )
222230 FileUtils . touch dot_doc
You can’t perform that action at this time.
0 commit comments