Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

trying to stop test errors on windows platform

  • Loading branch information...
commit 4a1c6c291fde1ff162047ec30b6dc0d8474393a8 1 parent 3dd1738
John Mair authored

Showing 1 changed file with 6 additions and 4 deletions. Show diff stats Hide diff stats

  1. 10  test/test_pry.rb
10  test/test_pry.rb
@@ -7,10 +7,12 @@
7 7
 
8 8
 describe Pry do
9 9
 
10  
-  describe 'warning emissions' do
11  
-    it 'should emit no warnings' do
12  
-      Open4.popen4 'ruby -I lib -rubygems -r"pry" -W -e "exit"' do |pid, stdin, stdout, stderr|
13  
-        stderr.read.empty?.should == true
  10
+  if RUBY_PLATFORM !~ /mingw/ && RUBY_PLATFORM !~ /mswin/
  11
+    describe 'warning emissions' do
  12
+      it 'should emit no warnings' do
  13
+        Open4.popen4 'ruby -I lib -rubygems -r"pry" -W -e "exit"' do |pid, stdin, stdout, stderr|
  14
+          stderr.read.empty?.should == true
  15
+        end
14 16
       end
15 17
     end
16 18
   end

0 notes on commit 4a1c6c2

Please sign in to comment.
Something went wrong with that request. Please try again.