1
0
Fork 0
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:
usa 2010-06-29 06:22:08 +00:00
parent e2f4729d42
commit cb7a106c21

View file

@ -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"