diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-03-05 00:28:22 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-03-05 00:28:22 +0000 |
commit | 19d3aaff5c45c8ee0a9083a182d77cd5f5acf935 (patch) | |
tree | d9f8ca29e556d2893c9b73c5283bcaf51c329d9f /spec | |
parent | ba982a3da32ecb3ae0f08eceda55c503f39d3875 (diff) | |
download | ruby-19d3aaff5c45c8ee0a9083a182d77cd5f5acf935.tar.gz |
Directories in RbConfig may not exist until installation
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec')
-rw-r--r-- | spec/ruby/library/rbconfig/rbconfig_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/library/rbconfig/rbconfig_spec.rb b/spec/ruby/library/rbconfig/rbconfig_spec.rb index 3f85523355..8fa63b6e27 100644 --- a/spec/ruby/library/rbconfig/rbconfig_spec.rb +++ b/spec/ruby/library/rbconfig/rbconfig_spec.rb @@ -9,8 +9,8 @@ describe 'RbConfig::CONFIG' do end end - # On MinGW, RbConfig points to installed dir, and these tests fail when testing this from build dir on AppVeyor. - platform_is_not :mingw do + # These directories have no meanings before the installation. + if RbConfig::TOPDIR it "['rubylibdir'] returns the directory containing Ruby standard libraries" do rubylibdir = RbConfig::CONFIG['rubylibdir'] File.directory?(rubylibdir).should == true |