PropSyntax

org.specs2.form.PropSyntax
trait PropSyntax

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Forms
object Forms

Members list

Extensions

Extensions

extension [T, R](p: Prop[T, T])(using evidence$1: AsResult[R])
def checkWith(f: T => R): Prop[T, T]

check the actual value with a function

check the actual value with a function

Attributes

extension [T](p: Prop[T, T])
infix def must(m: Matcher[T]): Prop[T, T]

check the actual value with a matcher

check the actual value with a matcher

Attributes