Result of evaluating a matcher on an expectation partial.
Constructors
new(match_data : Matchers::MatchData, source : Source)
SourceInstance methods
failure?
Indicates that the expectation was not satisified.
Sourcefailure_message
Description of why the match failed.
Sourcefailure_message?
Description of why the match failed.
If nil, then the match was successful.
Sourcesatisfied?
Indicates whether the matcher was satisified.
Sourcesource
Location where this expectation was defined.
Sourceto_json(json : JSON::Builder)
Creates the JSON representation of the expectation.
Sourcevalues
Additional information about the match, useful for debug.
Sourcevalues?
Additional information about the match, useful for debug.
If nil, then the match was successful.
Source