Diffable

org.specs2.matcher.describe.Diffable
See theDiffable companion object
trait Diffable[-T]

Typeclass for values which can be compared and return a comparison result

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class ArrayDiffable[E]
class EitherDiffable[L, R]
class FallbackDiffable[T]
class MapDiffable[K, V]
object NothingDiffable.type
class OptionDiffable[T]
object OptionNoneDiffable.type
class SeqDiffable[E]
class SeqLinesDiffable[E]
class SetDiffable[E]
class TryDiffable[T]
Show all

Members list

Value members

Abstract methods

def diff(actual: T, expected: T): ComparisonResult
Implicitly added by arrayDiffable
def diff(actual: T, expected: T): ComparisonResult
Implicitly added by eitherLeftDiffable
def diff(actual: T, expected: T): ComparisonResult
Implicitly added by eitherRightDiffable
def diff(actual: T, expected: T): ComparisonResult
Implicitly added by optionDiffable
def diff(actual: T, expected: T): ComparisonResult
Implicitly added by seqDiffable
def diff(actual: T, expected: T): ComparisonResult
Implicitly added by setDiffable
def diff(actual: T, expected: T): ComparisonResult
Implicitly added by tryDiffable
def diff(actual: T, expected: T): ComparisonResult