Fix example group reporting
This commit is contained in:
parent
18fe41c9f2
commit
7eebfd0e67
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue