Literal

io.github.frikit.twirlspec.expect.Expected.Literal
final case class Literal(value: String) extends Expected

The exact words, normalised the way page text is.

Attributes

Source
Expected.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Expected
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def describe: String

How this expected value appears in a failure message.

How this expected value appears in a failure message.

Attributes

Source
Expected.scala
def resolve(page: Page): Either[Violation, String]

The text to compare against on this page, or the violation to report when it cannot be resolved.

The text to compare against on this page, or the violation to report when it cannot be resolved.

Attributes

Source
Expected.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product