1
0
Fork 0

Do not exit on more than one diff

This commit is contained in:
Markus Schirp 2013-07-05 11:48:10 +02:00
parent fc76d9d149
commit 64e9026434

View file

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