Skip to content

Commit

Permalink
trying to stop test errors on windows platform
Browse files Browse the repository at this point in the history
  • Loading branch information
banister committed Jun 16, 2011
1 parent 3dd1738 commit 4a1c6c2
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions test/test_pry.rb
Expand Up @@ -7,10 +7,12 @@

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
Expand Down

0 comments on commit 4a1c6c2

Please sign in to comment.