EitherMatchers

org.specs2.matcher.EitherMatchers
See theEitherMatchers companion object

Matchers for the Either datatype

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object EitherMatchers.type
trait Matchers
object Matchers.type
trait MustMatchers
object MustMatchers.type
object MustThrownMatchers.type
object ShouldMatchers.type
object ShouldThrownMatchers.type
Show all

Members list

Value members

Concrete methods

def beLeft[T]: LeftMatcher[T]
def beRight[T]: RightMatcher[T]
def left[T](t: T)(using evidence$2: Diffable[T]): LeftCheckedMatcher[T]
def left[T](t: ValueCheck[T]): LeftCheckedMatcher[T]
def left[T]: LeftMatcher[T]
def right[T](t: T)(using evidence$1: Diffable[T]): RightCheckedMatcher[T]
def right[T]: RightMatcher[Nothing]