Remove dead code

This commit is contained in:
Markus Schirp 2014-04-04 16:23:49 +00:00
parent 0e050b3c88
commit ea13af47a3

View file

@ -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