summaryrefslogtreecommitdiff
path: root/spec/ruby/command_line
diff options
context:
space:
mode:
authoreregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-06-27 13:41:29 +0000
committereregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-06-27 13:41:29 +0000
commit636ae897c6e1a217fbba3cbe0eca12aabd9bb411 (patch)
treefb079095e7faaf426d544afe51edd55ec8ed8fdb /spec/ruby/command_line
parent9dc121cc577ae7a010bca7efedb79088e3cf7331 (diff)
downloadruby-636ae897c6e1a217fbba3cbe0eca12aabd9bb411.tar.gz
Update to ruby/spec@98c7d74
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/ruby/command_line')
-rw-r--r--spec/ruby/command_line/rubylib_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/command_line/rubylib_spec.rb b/spec/ruby/command_line/rubylib_spec.rb
index 93184f446d..d16579026a 100644
--- a/spec/ruby/command_line/rubylib_spec.rb
+++ b/spec/ruby/command_line/rubylib_spec.rb
@@ -16,9 +16,9 @@ describe "The RUBYLIB environment variable" do
paths.should include(dir)
end
- it "adds a colon-separated list of directories to $LOAD_PATH" do
+ it "adds a File::PATH_SEPARATOR-separated list of directories to $LOAD_PATH" do
dir1, dir2 = tmp("rubylib/incl1"), tmp("rubylib/incl2")
- ENV["RUBYLIB"] = "#{dir1}:#{dir2}"
+ ENV["RUBYLIB"] = "#{dir1}#{File::PATH_SEPARATOR}#{dir2}"
paths = ruby_exe("puts $LOAD_PATH").lines.map(&:chomp)
paths.should include(dir1)
paths.should include(dir2)