mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test_require.rb (test_require_with_unc): test for r28473.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e2f4729d42
commit
cb7a106c21
1 changed files with 4 additions and 0 deletions
|
@ -63,6 +63,10 @@ class TestRequire < Test::Unit::TestCase
|
|||
env_home ? ENV["HOME"] = env_home : ENV.delete("HOME")
|
||||
end
|
||||
|
||||
def test_require_with_unc
|
||||
assert(system(File.expand_path(EnvUtil.rubybin).sub(/\A(\w):/, '//localhost/\1$/'), "-rabbrev", "-e0"))
|
||||
end if /mswin|mingw/ =~ RUBY_PLATFORM
|
||||
|
||||
def test_define_class
|
||||
begin
|
||||
require "socket"
|
||||
|
|
Loading…
Reference in a new issue