FlowAssertions.Checkers (Flow Assertions v0.5.0) View Source
Functions that create handy predicates for use with FlowAssertions.MiscA.assert_good_enough/2
actual
|> assert_good_enough( in_any_order([1, 2, 3]))"Checkers" typically provide custom failure messages that are better than what a simple predicate would provide.
This module is a work in progress.
Link to this section Summary
Functions
Check equality of Enumerables, ignoring order.
Link to this section Functions
TBD
Check equality of Enumerables, ignoring order.
actual
|> assert_good_enough( in_any_order([1, 2, 3]))In case of error, the actual and expected enumerables are sorted by
by their Kernel.inspect/1 representation. In combination with ExUnit's
color-coded differences, that makes it easier to see what went wrong.