struct Spectator::Matchers::SuccessfulMatchData

Overview

Information about a successful match.

Defined in:

spectator/matchers/successful_match_data.cr

Instance Method Summary

Instance methods inherited from struct Spectator::Matchers::MatchData

description : String description, matched? : Bool matched?

Constructor methods inherited from struct Spectator::Matchers::MatchData

new(description : String) new

Instance methods inherited from class Object

should(matcher : Spectator::Matchers::TypeMatcher(U), message = nil, *, _file = __FILE__, _line = __LINE__) forall U
should(matcher, message = nil, *, _file = __FILE__, _line = __LINE__)
should
, should_eventually(matcher, message = nil, *, _file = __FILE__, _line = __LINE__) should_eventually, should_never(matcher, message = nil, *, _file = __FILE__, _line = __LINE__) should_never, should_not(matcher : Spectator::Matchers::TypeMatcher(U), message = nil, *, _file = __FILE__, _line = __LINE__) forall U
should_not(matcher : Spectator::Matchers::NilMatcher, message = nil, *, _file = __FILE__, _line = __LINE__)
should_not(matcher, message = nil, *, _file = __FILE__, _line = __LINE__)
should_not

Instance Method Detail

def matched? : Bool #

Indicates that the match succeeded.


[View source]