Diffs
org.specs2.main.Diffs
trait Diffs
Define and compute the differences between strings (used by the printers)
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class SmartDiffs
Members list
Value members
Abstract methods
Attributes
- Returns
-
true if the differences must be shown
Attributes
- Returns
-
true if the differences must be shown for 2 different values
Attributes
- Returns
-
the diffs
Attributes
- Returns
-
true if the full strings must also be shown
Attributes
- Returns
-
true if the differences must be shown for 2 different maps
def showMapDiffs(actual: Map[Any, Any], expected: Map[Any, Any]): (Seq[String], Seq[String], Seq[String])
Attributes
- Returns
-
the diffs for sequences with missing / added values
Attributes
- Returns
-
true if the differences must be shown for 2 different sequences of values
def showSeqDiffs(actual: Seq[Any], expected: Seq[Any], ordered: Boolean): (Seq[String], Seq[String])
Attributes
- Returns
-
the diffs for sequences with missing / added values
In this article