How show complete result in diff of assert

How show complete result in diff of assert?
Returns:

     code:  assert {:ok, %{}} == fun()
     left:  {:ok, %{}}
     right: {:ok, %{key: "44342141234214                                                                                                                               432134214214213                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                "
 <> ..., 
xablau: %{}}

How can I return all result in diff? Has someone param for this?

I am seeing a complete diff. What do you expect to see?

Has a <> ... omitting a part of the result.

Oh. Sorry. Didn’t notice.

You can just do this right before the assertion as a quick check:

value = fun()
IO.inspect(value, limit: :infinity)
2 Likes