Module

ExUnit.Assertions

Changes by version

Elixir 1.19.0

· 2 changes

Bugfix Tool: ExUnit

Fix order of pinned variables in failure reports

Bugfix Tool: ExUnit

Raise if attempting to raise an assertion error with invalid message (not a binary)

Elixir 1.18.0

· 2 changes

Bugfix Tool: ExUnit

Raise if guards are used in assert/1 with =

Bugfix Tool: ExUnit

Format inserted/deleted maps in list assertions

Elixir 1.11.3

· 1 change

Bugfix Tool: ExUnit

Do not crash if there are macros and module attributes on the left side of ++

Elixir 1.10.3

· 4 changes

Bugfix Tool: ExUnit

Fix pattern matching diff when matching on pinned variables

Bugfix Tool: ExUnit

Fix pattern matching diff when matching variable struct names

Bugfix Tool: ExUnit

Fix pattern matching diff when matching on the binary concat operator (<>) and the left side is not a literal string

Bugfix Tool: ExUnit

Fix pattern matching diff when matching on pseudo-vars (__MODULE__, __DIR__, etc)

Elixir 1.10.0

· 1 change

Enhancement Tool: ExUnit

Support diffs in pattern matching and in assert_receive

Elixir 1.8.0

· 1 change

Enhancement Tool: ExUnit

Show last N messages (instead of first N) from mailbox on assert_receive fail

Elixir 1.7.3

· 1 change

Bugfix Tool: ExUnit

Do not attempt to expand try/1 as it is a special form

Elixir 1.6.0

· 1 change

Enhancement Tool: ExUnit

Perform inclusive checks in assert_in_delta