diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-03-28 14:57:17 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-03-28 14:57:17 +0900 |
commit | 7072e0324ec7c083c46b7e6f566efa6a74206a07 (patch) | |
tree | b94e397aa413963b01f041e35c7bd86b93a8f293 /spec/ruby/library/rbconfig | |
parent | 6eb3820aad1668b6b09c68929840dff2cfda04c0 (diff) | |
download | ruby-7072e0324ec7c083c46b7e6f566efa6a74206a07.tar.gz |
Guard RbConfig spec unless installed
Diffstat (limited to 'spec/ruby/library/rbconfig')
-rw-r--r-- | spec/ruby/library/rbconfig/rbconfig_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/rbconfig/rbconfig_spec.rb b/spec/ruby/library/rbconfig/rbconfig_spec.rb index be767536fb..4decb91c50 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 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'] |