[DRE-commits] [ruby-aruba] 12/74: Stopped? checks for exited?, but this is checked somewhere else as well

Hideki Yamane henrich at moszumanska.debian.org
Sat Nov 28 01:16:29 UTC 2015


This is an automated email from the git hooks/post-receive script.

henrich pushed a commit to branch debian/sid
in repository ruby-aruba.

commit 567eb2d6f6850f2a3c33e9ac59595111143b0481
Author: Max Meyer <dev at fedux.org>
Date:   Mon Nov 23 16:36:32 2015 +0100

    Stopped? checks for exited?, but this is checked somewhere else as well
---
 lib/aruba/matchers/command/have_output.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/aruba/matchers/command/have_output.rb b/lib/aruba/matchers/command/have_output.rb
index 38e5291..5e1d357 100644
--- a/lib/aruba/matchers/command/have_output.rb
+++ b/lib/aruba/matchers/command/have_output.rb
@@ -28,7 +28,7 @@ RSpec::Matchers.define :have_output do |expected|
       :env    => @announce_env
     )
 
-    @old_actual.stop(@announcer) unless @old_actual.stopped?
+    @old_actual.stop(@announcer)
 
     @actual = sanitize_text(actual.output)
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-aruba.git



More information about the Pkg-ruby-extras-commits mailing list