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:
parent
3dd173851a
commit
4a1c6c291f
1 changed files with 6 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue