lib/mutant/differ.rb in mutant-0.3.0.beta10 vs lib/mutant/differ.rb in mutant-0.3.0.beta11
- old
+ new
@@ -20,10 +20,11 @@
nil
when 1
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
# Return colorized source diff