Skip to content

Commit

Permalink
starts mocked and umocked call logging with a newline
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkovsky committed Sep 1, 2020
1 parent 368cb1a commit 0d513db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mox.ex
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@ defmodule Mox do
defp __log_calls__?(type, mock), do: mock.__log_calls__(type)

defp do_log_call(type, mock, name, arity, args) do
IO.puts("#{log_label(type)} #{mock}.#{name}/#{arity} with args: #{inspect(args)}")
IO.puts("\n#{log_label(type)} #{mock}.#{name}/#{arity} with args: #{inspect(args)}")
IO.puts(" Stacktrace:")

log_stacktrace()
Expand Down

0 comments on commit 0d513db

Please sign in to comment.