actual property

Iterable<String> actual
final

A description of the actual value as it relates to the expectation.

This may use literal to show a String representation of the value, or it may be a description of a specific aspect of the value. For instance an expectation that a Future completes to a value may describe the actual as "A Future that completes to an error".

When a value is rejected with no actual argument, it will be filled in with the literal representation of the value.

Lines should be split to separate elements, and individual strings should not contain newlines.

This is printed following an "Actual: " label in the output of a failure message. All lines in the message will be indented to the level of the expectation in the description, and printed following the descriptions of any expectations that have already passed.

Implementation

final Iterable<String> actual;