View Source Expect.Matchers (Expect v0.1.5)
Summary
Functions
Verifies that expected
is an empty list, map, or tuple
Verifies that expected
is nil
Verifies that expected
is a falsy value -- either nil
or false
Verifies that the provided value
is in the list expected
Verifies that expected
is equal to value
Verifies that expected
is either a List or String with the given length
Matches expected
against the provided regular expression using Regex.match?
Functions
Verifies that expected
is an empty list, map, or tuple
@spec to_be_nil(Expect.WrappedValue.t()) :: Expect.WrappedValue.t()
Verifies that expected
is nil
Verifies that expected
is a falsy value -- either nil
or false
Verifies that the provided value
is in the list expected
Verifies that expected
is equal to value
@spec to_have_length(Expect.WrappedValue.t(), non_neg_integer()) :: Expect.WrappedValue.t()
Verifies that expected
is either a List or String with the given length
Matches expected
against the provided regular expression using Regex.match?