struct Spectator::Formatting::Components::ErrorResultBlock
- Spectator::Formatting::Components::ErrorResultBlock
- Spectator::Formatting::Components::ResultBlock
- Spectator::Formatting::Components::Block
- Struct
- Value
- Object
Overview
Displays information about an error result.
Defined in:
spectator/formatting/components/error_result_block.crConstructors
-
.new(example : Example, index : Int32, error : Exception, subindex = 0)
Creates the component.
Instance methods inherited from struct Spectator::Formatting::Components::ResultBlock
to_s(io)
to_s
Constructor methods inherited from struct Spectator::Formatting::Components::ResultBlock
new(example : Example, index : Int32, subindex : Int32 = 0)
new
Constructor methods inherited from struct Spectator::Formatting::Components::Block
new(*, indent : Int32 = INDENT)
new
Instance methods inherited from class Object
should(matcher, message = nil)
should,
should_eventually(matcher, message = nil)
should_eventually,
should_never(matcher, message = nil)
should_never,
should_not(matcher, message = nil)
should_not
Constructor Detail
Creates the component.