Do not exit on more than one diff
This commit is contained in:
parent
fc76d9d149
commit
64e9026434
1 changed files with 2 additions and 1 deletions
|
@ -22,7 +22,8 @@ module Mutant
|
|||
output = Diff::LCS::Hunk.new(old, new, diffs.first, max_length, 0).diff(:unified)
|
||||
output << "\n"
|
||||
else
|
||||
abort 'Mutation resulted in more than one diff, should not happen! PLS report a bug!'
|
||||
$stderr.puts 'Mutation resulted in more than one diff, should not happen! PLS report a bug!'
|
||||
nil
|
||||
end
|
||||
end
|
||||
memoize :diff
|
||||
|
|
Loading…
Add table
Reference in a new issue