Use positive predicate

This commit is contained in:
Markus Schirp 2014-04-04 16:24:13 +00:00
parent ea13af47a3
commit 69dc9e9e0e

View file

@ -20,7 +20,7 @@ module Mutant
def run
mutation.insert
unless example_groups.any?
if example_groups.empty?
$stderr.puts("No rspec example groups found for: #{match_prefixes.join(', ')}")
return false
end