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

ruby-changes:60547

From: Nobuyoshi <ko1@a...>
Date: Sat, 28 Mar 2020 14:58:26 +0900 (JST)
Subject: [ruby-changes:60547] 7072e0324e (master): Guard RbConfig spec unless installed

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

From 7072e0324ec7c083c46b7e6f566efa6a74206a07 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Sat, 28 Mar 2020 14:57:17 +0900
Subject: Guard RbConfig spec unless installed


diff --git a/spec/ruby/library/rbconfig/rbconfig_spec.rb b/spec/ruby/library/rbconfig/rbconfig_spec.rb
index be76753..4decb91 100644
--- a/spec/ruby/library/rbconfig/rbconfig_spec.rb
+++ b/spec/ruby/library/rbconfig/rbconfig_spec.rb
@@ -37,7 +37,7 @@ describe 'RbConfig::CONFIG' do https://github.com/ruby/ruby/blob/trunk/spec/ruby/library/rbconfig/rbconfig_spec.rb#L37
     RUBY
   end
 
-  platform_is_not :windows do
+  guard -> {RbConfig::TOPDIR} do
     it "libdir/LIBRUBY_SO is the path to libruby and it exists if and only if ENABLE_SHARED" do
       if RbConfig::CONFIG['ENABLE_SHARED'] == 'yes'
         libdir = RbConfig::CONFIG['libdir']
-- 
cgit v0.10.2


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

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