mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/ruby/test_file.rb (TestFile#test_long_unc): fix for the case cwd is UNC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3ed259abbc
commit
04e3e2de56
1 changed files with 1 additions and 0 deletions
|
@ -209,6 +209,7 @@ class TestFile < Test::Unit::TestCase
|
|||
def test_long_unc
|
||||
feature3399 = '[ruby-core:30623]'
|
||||
path = File.expand_path(__FILE__)
|
||||
path.sub!(%r'\A//', 'UNC/')
|
||||
assert_nothing_raised(Errno::ENOENT, feature3399) do
|
||||
File.stat("//?/#{path}")
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue