You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by do...@apache.org on 2013/10/28 18:53:53 UTC

svn commit: r1536447 - /buildr/trunk/spec/core/console_spec.rb

Author: donaldp
Date: Mon Oct 28 17:53:53 2013
New Revision: 1536447

URL: http://svn.apache.org/r1536447
Log:
Restrict the tests further on certain platforms

Modified:
    buildr/trunk/spec/core/console_spec.rb

Modified: buildr/trunk/spec/core/console_spec.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/spec/core/console_spec.rb?rev=1536447&r1=1536446&r2=1536447&view=diff
==============================================================================
--- buildr/trunk/spec/core/console_spec.rb (original)
+++ buildr/trunk/spec/core/console_spec.rb Mon Oct 28 17:53:53 2013
@@ -21,7 +21,7 @@ describe Buildr::Console do
 
     it 'should return a value' do
       Buildr::Console.console_dimensions.should_not be_nil
-    end if $stdout.isatty && !ENV["TRAVIS"] && (!Buildr::Util.win_os? || Buildr::Util.java_platform?)
+    end if $stdout.isatty && !ENV["TRAVIS"] && !Buildr::Util.win_os?
   end
 
   describe 'color' do
@@ -42,7 +42,7 @@ describe Buildr::Console do
       it 'should emit blue code when asked' do
         Buildr::Console.color('message', :blue).should eql("\e[34mmessage\e[0m")
       end
-    end if $stdout.isatty && (!Buildr::Util.win_os? || Buildr::Util.java_platform?)
+    end if $stdout.isatty && !Buildr::Util.win_os?
 
     describe ' use_color is false' do
       before do