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
|
def run
|
||||||
mutation.insert
|
mutation.insert
|
||||||
|
|
||||||
groups =
|
unless example_groups.any?
|
||||||
if mutation.is_a?(Mutation::Neutral::Noop)
|
|
||||||
[example_groups.first]
|
|
||||||
else
|
|
||||||
example_groups
|
|
||||||
end
|
|
||||||
|
|
||||||
unless groups
|
|
||||||
$stderr.puts("No rspec example groups found for: #{match_prefixes.join(', ')}")
|
$stderr.puts("No rspec example groups found for: #{match_prefixes.join(', ')}")
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue