зеркало из https://github.com/github/ruby.git
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
This commit is contained in:
Родитель
ba982a3da3
Коммит
19d3aaff5c
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче