Spectator::Expression(T)
Inherits Spectator::AbstractExpression / Reference / Object
Represents an expression from a test.
This is typically captured by an expect macro.
It consists of a label and a typed expression.
The label should be a string recognizable by the user,
or nil if one isn't available.
Constructors
new(label : Label)
Creates the expression.
The label is usually the Crystal code evaluating to the #raw_value.
It can be nil if it isn't available.