given_Conversion_Boolean_Result

org.specs2.execute.Results.given_Conversion_Boolean_Result
object given_Conversion_Boolean_Result extends Conversion[Boolean, Result]

implicit definition to accept any boolean value as a Result This avoids writing b must beTrue

Attributes

Graph
Supertypes
class Conversion[Boolean, Result]
trait Boolean => Result
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(b: Boolean): Result

Convert value x of type T to type U

Convert value x of type T to type U

Attributes

Inherited methods

def andThen[A](g: Result => A): Boolean => A

Attributes

Inherited from:
Function1
def compose[A](g: A => Boolean): A => Result

Attributes

Inherited from:
Function1
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Function1 -> Any
Inherited from:
Function1

Extensions

Inherited extensions

extension (x: Boolean)

x.convert converts a value x of type T to type U

x.convert converts a value x of type T to type U

Attributes

Inherited from:
Conversion