ResultOfAfterWordApplication

final class ResultOfAfterWordApplication(val text: String, val f: () => Unit)

Class that supports the use of after words in WordSpec and fixture.WordSpec.

A ResultOfAfterWordApplication, which encapsulates the text of the after word and a block, is accepted by when, should, must, can, and that methods. For more information, see the main documentation for trait WordSpec.

class Object
trait Matchable
class Any

Value members

Concrete methods

override def toString: String

Overrides toString to return the passed in text.

Overrides toString to return the passed in text.

Definition Classes
Any

Concrete fields

val f: () => Unit
val text: String