From 19d3aaff5c45c8ee0a9083a182d77cd5f5acf935 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 5 Mar 2019 00:28:22 +0000 Subject: 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 --- spec/ruby/library/rbconfig/rbconfig_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec/ruby/library') 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 -- cgit v1.2.3