1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

trying to stop test errors on windows platform

This commit is contained in:
John Mair 2011-06-17 02:49:09 +12:00
parent 3dd173851a
commit 4a1c6c291f

View file

@ -7,10 +7,12 @@ puts "--"
describe Pry do describe Pry do
describe 'warning emissions' do if RUBY_PLATFORM !~ /mingw/ && RUBY_PLATFORM !~ /mswin/
it 'should emit no warnings' do describe 'warning emissions' do
Open4.popen4 'ruby -I lib -rubygems -r"pry" -W -e "exit"' do |pid, stdin, stdout, stderr| it 'should emit no warnings' do
stderr.read.empty?.should == true 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 end
end end