abstract class UnitWheneverAsserting extends AnyRef
Class holding lowest priority WheneverAsserting
implicit, which enables Whenever expressions that have result type Unit
.
- Source
- WheneverAsserting.scala
- Alphabetic
- By Inheritance
- UnitWheneverAsserting
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new UnitWheneverAsserting()
Value Members
- 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.