Packages

c

org.scalatest.words

ResultOfBeWordForNoException

final class ResultOfBeWordForNoException extends AnyRef

This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

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

Instance Constructors

  1. new ResultOfBeWordForNoException(pos: Position)

Value Members

  1. def thrownBy(fun: ⇒ Any): Assertion

    This method enables the following syntax:

    This method enables the following syntax:

    noException should be thrownBy { ... }
                          ^
    

  2. def toString(): String

    Overrides toString to return pretty noException should/must be

    Overrides toString to return pretty noException should/must be

    Definition Classes
    ResultOfBeWordForNoException → AnyRef → Any