From 636ae897c6e1a217fbba3cbe0eca12aabd9bb411 Mon Sep 17 00:00:00 2001 From: eregon Date: Wed, 27 Jun 2018 13:41:29 +0000 Subject: Update to ruby/spec@98c7d74 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- spec/ruby/command_line/rubylib_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec') 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) -- cgit v1.2.3