ShouldBe

wvlet.airspec.spi.RichAsserts.ShouldBe
implicit protected class ShouldBe[A](val value: A)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

protected def matchFailure(expected: Any, code: SourceCode): AssertionFailure
def shouldBe(expected: Any)(implicit code: SourceCode): Boolean
def shouldBe(expected: OptionTarget)(implicit code: SourceCode): Unit
def shouldBeTheSameInstanceAs(expected: Any)(implicit code: SourceCode): Unit
def shouldContain(expected: Any)(implicit code: SourceCode): Unit
def shouldMatch[U](pattern: PartialFunction[A, U])(implicit code: SourceCode): U
def shouldNotBe(unexpected: Any)(implicit code: SourceCode): Boolean
def shouldNotBe(expected: OptionTarget)(implicit code: SourceCode): Unit
def shouldNotBeTheSameInstanceAs(expected: Any)(implicit code: SourceCode): Unit
def shouldNotContain(expected: Any)(implicit code: SourceCode): Unit
protected def unmatchFailure(unexpected: Any, code: SourceCode): AssertionFailure

Concrete fields

val value: A