Fix example group reporting

This commit is contained in:
Markus Schirp 2014-04-06 21:42:16 +00:00
parent 18fe41c9f2
commit 7eebfd0e67

View file

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