org.specs2.matcher.ExpectedResults
See theExpectedResults companion object
trait ExpectedResults extends ExpectationsCreation
This trait can be used in conjunction with Pattern matchers:
List(1, 2) must beLike { case List(a, b) => ok } List(1, 2) must beLike { case List(a, b) => ko("unexpected") }
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass Any
- Known subtypes
-
object ExpectedResults.typetrait ThrownExpectationstrait MustThrownExpectationsobject MustThrownExpectations.typetrait MustThrownMatchersobject MustThrownMatchers.typetrait ShouldThrownExpectationsobject ShouldThrownExpectations.typetrait ShouldThrownMatchersobject ShouldThrownMatchers.typeobject ThrownExpectations.type
Members list
In this article