Restrict the tests further on certain platforms git-svn-id: https://svn.apache.org/repos/asf/buildr/trunk@1536447 13f79535-47bb-0310-9956-ffa450edef68
Project: http://git-wip-us.apache.org/repos/asf/buildr/repo Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/dfede00a Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/dfede00a Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/dfede00a Branch: refs/heads/master Commit: dfede00adf18006025f72b09963730c62aa26894 Parents: 6fb423f Author: Peter Donald <[email protected]> Authored: Mon Oct 28 17:53:53 2013 +0000 Committer: Peter Donald <[email protected]> Committed: Mon Oct 28 17:53:53 2013 +0000 ---------------------------------------------------------------------- spec/core/console_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/buildr/blob/dfede00a/spec/core/console_spec.rb ---------------------------------------------------------------------- diff --git a/spec/core/console_spec.rb b/spec/core/console_spec.rb index 760e50e..3763cda 100644 --- a/spec/core/console_spec.rb +++ b/spec/core/console_spec.rb @@ -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
