summaryrefslogtreecommitdiff
path: root/test/ruby/test_require.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_require.rb')
-rw-r--r--test/ruby/test_require.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_require.rb b/test/ruby/test_require.rb
index 666f2fcd82..1bed6c4f64 100644
--- a/test/ruby/test_require.rb
+++ b/test/ruby/test_require.rb
@@ -226,7 +226,7 @@ class TestRequire < Test::Unit::TestCase
t.puts "puts __FILE__"
t.close
- path = File.expand_path(t.path).sub(/\A(\w):/, '//127.0.0.1/\1$/')
+ path = File.expand_path(t.path).sub(/\A(\w):/, '//127.0.0.1/\1$')
skip "local drive #$1: is not shared" unless File.exist?(path)
args = ['--disable-gems', "-I#{File.dirname(path)}"]
assert_in_out_err(args, "#{<<~"END;"}", [path], [])