You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Elixir 1.17.0-rc.0 (a2600ea) (compiled with Erlang/OTP 27)
Operating system
Linux
Current behavior
With such minimal test:
@date DateTime.utc_now() |> Map.from_struct()
test "greets the world" do
assert [@date] == [@date, @date]
end
The result has only formatted the common parts of both sides of the comparison.
The difference is unformatted, but this is the one that I'm as an user am most interested in. It looks worse when the data structure has more keys than on the screenshot.
Expected behavior
The differences between both sides are formatted.
The text was updated successfully, but these errors were encountered:
josevalim
changed the title
[ExUnit] only formats the common parts between left and right side of assertion
ExUnit only formats the common parts between left and right side of assertion
May 31, 2024
Elixir and Erlang/OTP versions
Elixir 1.17.0-rc.0 (a2600ea) (compiled with Erlang/OTP 27)
Operating system
Linux
Current behavior
With such minimal test:
The result has only formatted the common parts of both sides of the comparison.
The difference is unformatted, but this is the one that I'm as an user am most interested in. It looks worse when the data structure has more keys than on the screenshot.
Expected behavior
The differences between both sides are formatted.
The text was updated successfully, but these errors were encountered: