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

last attempt trying to find travis failure before giving up

This commit is contained in:
John Mair 2011-09-22 03:06:26 +12:00
parent fec1e53fe3
commit ab6dddead6

View file

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