Remove dead code
This commit is contained in:
parent
0e050b3c88
commit
ea13af47a3
1 changed files with 1 additions and 8 deletions
|
@ -20,14 +20,7 @@ module Mutant
|
|||
def run
|
||||
mutation.insert
|
||||
|
||||
groups =
|
||||
if mutation.is_a?(Mutation::Neutral::Noop)
|
||||
[example_groups.first]
|
||||
else
|
||||
example_groups
|
||||
end
|
||||
|
||||
unless groups
|
||||
unless example_groups.any?
|
||||
$stderr.puts("No rspec example groups found for: #{match_prefixes.join(', ')}")
|
||||
return false
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue