ruby-changes:58492
From: aycabta <ko1@a...>
Date: Tue, 29 Oct 2019 12:35:56 +0900 (JST)
Subject: [ruby-changes:58492] 9525541d02 (master): [ruby/rdoc] Use Dir.glob to convert short path of Dir.tmpdir to long path
https://git.ruby-lang.org/ruby.git/commit/?id=9525541d02 From 9525541d022c67f4a162f8221bae7de2a172f371 Mon Sep 17 00:00:00 2001 From: aycabta <aycabta@g...> Date: Mon, 28 Oct 2019 13:39:37 +0900 Subject: [ruby/rdoc] Use Dir.glob to convert short path of Dir.tmpdir to long path https://github.com/ruby/rdoc/commit/ba16e44572 diff --git a/test/rdoc/test_rdoc_rdoc.rb b/test/rdoc/test_rdoc_rdoc.rb index 9471f3e..f2cc901 100644 --- a/test/rdoc/test_rdoc_rdoc.rb +++ b/test/rdoc/test_rdoc_rdoc.rb @@ -188,6 +188,10 @@ class TestRDocRDoc < RDoc::TestCase https://github.com/ruby/ruby/blob/trunk/test/rdoc/test_rdoc_rdoc.rb#L188 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 https://github.com/ruby/ruby/blob/trunk/test/rdoc/test_rdoc_rdoc.rb#L219 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 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/