disu.se

FailureClass

Namespace

Lookout::Results

Ancestors
  1. Lookout::Result

  2. Value

  3. Value::Comparable

  4. Comparable

  5. Object

A failed result used when the actual result of an expect block exhibits differences from the expected value.

Constructor

initialize(fileString, lineInteger, differenceDifference::Object)#

Initializes the result pertaining to the expect block defined on line in the expanded path to file. The difference report between the actual result and the expected value will be used to display this information to the user.

Note

Comparisons between instances are made between file and line.

Instance Methods

fileprotected#

block that this result pertains to

ReturnsString

The expanded path of the file containing the expect

lineprotected#

result pertains to is defined

ReturnsInteger

The line in FILE on which the expectation that this