trying to stop test errors on windows platform
This commit is contained in:
parent
3dd173851a
commit
4a1c6c291f
|
@ -7,10 +7,12 @@ puts "--"
|
|||
|
||||
describe Pry do
|
||||
|
||||
describe 'warning emissions' do
|
||||
it 'should emit no warnings' do
|
||||
Open4.popen4 'ruby -I lib -rubygems -r"pry" -W -e "exit"' do |pid, stdin, stdout, stderr|
|
||||
stderr.read.empty?.should == true
|
||||
if RUBY_PLATFORM !~ /mingw/ && RUBY_PLATFORM !~ /mswin/
|
||||
describe 'warning emissions' do
|
||||
it 'should emit no warnings' do
|
||||
Open4.popen4 'ruby -I lib -rubygems -r"pry" -W -e "exit"' do |pid, stdin, stdout, stderr|
|
||||
stderr.read.empty?.should == true
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue