This method enables syntax such as the following:
This method enables syntax such as the following:
evaluating { "hi".charAt(-1) } must produce [StringIndexOutOfBoundsException] ^
Overrides to return pretty toString.
Overrides to return pretty toString.
"evaluating { ... }"
This class is part of the ScalaTest matchers DSL. Please see the documentation for
Matchers
for an overview of the matchers DSL.