Added context to multi-segment mutation
This commit is contained in:
parent
e7d6fef0d8
commit
b8f72f77b2
1 changed files with 1 additions and 1 deletions
|
@ -484,7 +484,7 @@ module Mutant
|
|||
original, current = mutation.original_source, mutation.source
|
||||
diff = Mutant::Diff.build(original, current)
|
||||
diff = color? ? diff.colorized_diff : diff.diff
|
||||
puts(diff || DIFF_ERROR_MESSAGE)
|
||||
puts(diff || ['Original source:',original, 'Mutated Source:', current,DIFF_ERROR_MESSAGE])
|
||||
end
|
||||
|
||||
# Noop details
|
||||
|
|
Loading…
Reference in a new issue