AssertionValue

sealed abstract class AssertionValue

An AssertionValue keeps track of a assertion and a value, existentially hiding the type. This is used internally by the library to provide useful error messages in the event of test failures.

Companion:
object
class Object
trait Matchable
class Any

Type members

Types

type Value

Value members

Abstract methods

def expression: Option[String]
def sourceLocation: Option[String]

Concrete methods

def label(string: String): AssertionValue
def printAssertion: String
def sameAssertion(that: AssertionValue): Boolean
def withContext(expr: Option[String], sourceLocation: Option[String]): AssertionValue