struct

Spectator::Matchers::FailedMatchData

Inherits Spectator::Matchers::MatchData / Struct / Value / Object

Information about a failed match.

Constructors

new(description, failure_message : String, values : Array(Tuple(Symbol, String)))

Creates the match data.

Source
new(description, failure_message : String, **values)

Creates the match data.

Source

Instance methods

failure_message

Description from the matcher as to why it failed.

Source
matched?

Indicates that the match failed.

Source
values

Additional information from the match that can be used to debug the problem.

Source