Packages

object WheneverAsserting extends UnitWheneverAsserting

Companion object to WheneverAsserting that provides two implicit providers, a higher priority one for passed functions that have result type Assertion, which also yields result type Assertion, and one for any other type, which yields result type Unit.

Source
WheneverAsserting.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WheneverAsserting
  2. UnitWheneverAsserting
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. implicit def assertingNatureOfAssertion: WheneverAsserting[Assertion] { type Result = org.scalatest.Assertion }
  2. implicit def assertingNatureOfT[T]: WheneverAsserting[T] { type Result = Unit }

    Provides support of WheneverAsserting for Unit.

    Provides support of WheneverAsserting for Unit. Return Unit when the check succeeds, but throw DiscardedEvaluationException when check fails.

    Definition Classes
    UnitWheneverAsserting