diff --git a/lib/mutant/runner.rb b/lib/mutant/runner.rb index fbc54175..5f0adc6b 100644 --- a/lib/mutant/runner.rb +++ b/lib/mutant/runner.rb @@ -156,10 +156,8 @@ module Mutant input.each do |object| runner = visit(object) collection << runner - if runner.stop? - @stop = true - break - end + @stop = runner.stop? + break if @stop end collection end