[前][次][番号順一覧][スレッド一覧]

ruby-changes:51563

From: eregon <ko1@a...>
Date: Thu, 28 Jun 2018 16:23:12 +0900 (JST)
Subject: [ruby-changes:51563] eregon:r63769 (trunk): Update to ruby/spec@98c7d74

eregon	2018-06-27 22:41:29 +0900 (Wed, 27 Jun 2018)

  New Revision: 63769

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63769

  Log:
    Update to ruby/spec@98c7d74

  Modified files:
    trunk/spec/ruby/command_line/rubylib_spec.rb
Index: spec/ruby/command_line/rubylib_spec.rb
===================================================================
--- spec/ruby/command_line/rubylib_spec.rb	(revision 63768)
+++ spec/ruby/command_line/rubylib_spec.rb	(revision 63769)
@@ -16,9 +16,9 @@ describe "The RUBYLIB environment variab https://github.com/ruby/ruby/blob/trunk/spec/ruby/command_line/rubylib_spec.rb#L16
     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)

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]