Skip to content

Commit

Permalink
Apply review remarks
Browse files Browse the repository at this point in the history
  • Loading branch information
ieQu1 committed May 5, 2024
1 parent 2808ea5 commit 3e458d7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/snabbkaffe_diff.erl
Original file line number Diff line number Diff line change
Expand Up @@ -85,20 +85,20 @@ assert_lists_eq(A, B, Options) ->
format({ctx, Bin}) when is_binary(Bin) ->
<<Bin / binary, "\n">>;
format({ctx, Term}) ->
io_lib:format( " ~9999p~n"
io_lib:format( " ~0p~n"
, [Term]
);
format({extra, Term}) ->
io_lib:format( "!! ++ ~9999p~n"
io_lib:format( "!! ++ ~0p~n"
, [Term]
);
format({missing, Term}) ->
io_lib:format( "!! -- ~9999p~n"
io_lib:format( "!! -- ~0p~n"
, [Term]
);
format({changed, T1, T2}) ->
io_lib:format( "!! - ~9999p~n"
"!! + ~9999p~n"
io_lib:format( "!! - ~0p~n"
"!! + ~0p~n"
, [T1, T2]
);
format(L) when is_list(L) ->
Expand Down

0 comments on commit 3e458d7

Please sign in to comment.