зеркало из https://github.com/github/ruby.git
[ruby/rdoc] Use Dir.glob to convert short path of Dir.tmpdir to long path
https://github.com/ruby/rdoc/commit/ba16e44572
This commit is contained in:
Родитель
c8ce37d427
Коммит
9525541d02
|
@ -188,6 +188,10 @@ class TestRDocRDoc < RDoc::TestCase
|
|||
FileUtils.touch a
|
||||
FileUtils.touch b
|
||||
FileUtils.touch c
|
||||
# Use Dir.glob to convert short path of Dir.tmpdir to long path.
|
||||
a = Dir.glob(a).first
|
||||
b = Dir.glob(b).first
|
||||
c = Dir.glob(c).first
|
||||
|
||||
dot_doc = File.expand_path('.document')
|
||||
FileUtils.touch dot_doc
|
||||
|
@ -215,6 +219,10 @@ class TestRDocRDoc < RDoc::TestCase
|
|||
FileUtils.touch a
|
||||
FileUtils.touch b
|
||||
FileUtils.touch c
|
||||
# Use Dir.glob to convert short path of Dir.tmpdir to long path.
|
||||
a = Dir.glob(a).first
|
||||
b = Dir.glob(b).first
|
||||
c = Dir.glob(c).first
|
||||
|
||||
dot_doc = File.expand_path('.document')
|
||||
FileUtils.touch dot_doc
|
||||
|
|
Загрузка…
Ссылка в новой задаче