API Reference Expect v#3.1.0
View SourceModules
A matcher is responsible for providing expect/2 three things
You are highly encouraged to implement your own custom matchers. For the application you
will build, there will surely be some interesting properties and shapes of data that
will be important to verify. It might be easy to use the equal() matcher for 99%
of assertions, but writing a higher-level matcher can be much more intent revealing.
Custom matchers should return this when they receive data they cannot handle
Custom matchers should return this in their happy path.
Use the succeeded? field to indicate whether its condition is true or false