Skip to content

Commit

Permalink
remove MIME for DIFF method
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnychen94 committed Dec 14, 2019
1 parent e75cda5 commit 5540741
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/render.jl
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ function render(::MIME"text/plain", mode::BeforeAfter, reference, actual)
render_item(mode, actual)
println("-------------------------------")
end

function render(::MIME"image/png", mode::BeforeAfterImage, reference, actual)
fill_value = zero(eltype(reference))
out = paddedviews(fill_value, reference, actual)
println("- REFERENCE --------|--------- ACTUAL -")
display(hcat(out...))
end
function render(::MIME"text/plain", ::Diff, reference, actual)

function render(::Diff, reference, actual)
println("- DIFF ------------------------")
@withcolor println(deepdiff(reference, actual))
println("-------------------------------")
Expand Down

0 comments on commit 5540741

Please sign in to comment.