LinesContent

org.specs2.text.LinesContent
trait LinesContent[L1]

Any type T with a name and representable as a sequence of Strings

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object FileLinesContent.type
class SeqLinesContent[A, CC]

Members list

Value members

Abstract methods

def lines(t: L1): Seq[String]

Attributes

Returns

the lines for this content

def name(t: L1): String

Attributes

Returns

a name for this content

Concrete methods

def differences[L2](ls1: L1, ls2: L2, all: Boolean, ordered: Boolean)(using evidence$1: LinesContent[L2]): LinesContentDifference

Attributes

Returns

the differences with another content