Packages

c

org.scalatest.enablers

UnitWheneverAsserting

abstract class UnitWheneverAsserting extends AnyRef

Class holding lowest priority WheneverAsserting implicit, which enables Whenever expressions that have result type Unit.

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

Instance Constructors

  1. new UnitWheneverAsserting()

Value Members

  1. 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.