Extends Expect with more Expectations.
An expectation represented as a pattern to match a string.
Matches if the pattern is contained within the actual string value.
Matches if the regular expression matches the actual string value.
Alias of member.
Reads better with bdd style tests.
expect [0, 1, 2] to contain 1
-- Passes because [0, 1, 2] contains 1Passes if value is a member of list.
member 1 [0, 1, 2]
-- Passes because 1 is a member of [0, 1, 2]
Passes if the given pattern matches the actual string.