Skip to content

Commit 0db0053

Browse files
committed
Revert ExUnit change
1 parent e415f3c commit 0db0053

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/ex_unit/test/ex_unit/formatter_test.exs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -430,14 +430,14 @@ defmodule ExUnit.FormatterTest do
430430
end
431431

432432
test "formats matches correctly" do
433-
failure = [{:error, catch_assertion(assert %{0 => -1} = %{0 => 1}), []}]
433+
failure = [{:error, catch_assertion(assert %{a: :b} = %{a: :c}), []}]
434434

435435
assert format_test_all_failure(test_module(), failure, 1, :infinity, &formatter/2) =~ """
436436
1) Hello: failure on setup_all callback, all tests have been invalidated
437437
match (=) failed
438-
code: assert %{0 => -1} = %{0 => 1}
439-
left: %{0 => -1}
440-
right: %{0 => 1}
438+
code: assert %{a: :b} = %{a: :c}
439+
left: %{a: :b}
440+
right: %{a: :c}
441441
"""
442442
end
443443

0 commit comments

Comments
 (0)