module Spec2::Matchers

Direct including types

Defined in:

matchers/be.cr:2
matchers/be.cr:61
matchers/be_a.cr
matchers/bool.cr
matchers/close.cr
matchers/eq.cr:2
matchers/eq.cr:29
matchers/match.cr:2
matchers/match.cr:35
matchers/raise_error.cr
matchers/satisfy.cr

Macro Summary

Instance Method Summary

Macro Detail

macro be_a(t) #

[View source]
macro raise_error(klass = Exception, message = nil) #

[View source]

Instance Method Detail

def be(expected) #

[View source]
def be_close(expected, delta) #

[View source]
def be_false #

[View source]
def be_falsey #

[View source]
def be_nil #

[View source]
def be_true #

[View source]
def be_truthy #

[View source]
def eq(expected) #

[View source]
def match(expected) #

[View source]