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

ruby-changes:58113

From: Takashi <ko1@a...>
Date: Fri, 4 Oct 2019 07:33:56 +0900 (JST)
Subject: [ruby-changes:58113] a56d742e69 (master): Simplify bin_path_spec.rb guard

https://git.ruby-lang.org/ruby.git/commit/?id=a56d742e69

From a56d742e69aa8a3a1fe92fc515d93f6e51cf5fbc Mon Sep 17 00:00:00 2001
From: Takashi Kokubun <takashikkbn@g...>
Date: Thu, 3 Oct 2019 15:33:10 -0700
Subject: Simplify bin_path_spec.rb guard

For some reason the guard_not seems not working as expected
https://ci.appveyor.com/project/ruby/ruby/builds/27866153/job/v6wa6q6p7b7n7r37

diff --git a/spec/ruby/library/rubygems/gem/bin_path_spec.rb b/spec/ruby/library/rubygems/gem/bin_path_spec.rb
index ab4ea93..67b3e042 100644
--- a/spec/ruby/library/rubygems/gem/bin_path_spec.rb
+++ b/spec/ruby/library/rubygems/gem/bin_path_spec.rb
@@ -11,7 +11,7 @@ describe "Gem.bin_path" do https://github.com/ruby/ruby/blob/trunk/spec/ruby/library/rubygems/gem/bin_path_spec.rb#L11
     ENV['BUNDLE_GEMFILE'] = @bundle_gemfile
   end
 
-  guard_not -> { platform_is :windows } do
+  platform_is_not :windows do
     it "finds executables of default gems, which are the only files shipped for default gems" do
       # For instance, Gem.bin_path("bundler", "bundle") is used by rails new
 
-- 
cgit v0.10.2


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

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