final class ResultOfIncludeWordForCollectedString extends AnyRef
This class is part of the ScalaTest matchers DSL. Please see the documentation for InspectorsMatchers
for an overview of
the matchers DSL.
- Source
- MustMatchers.scala
- Alphabetic
- By Inheritance
- ResultOfIncludeWordForCollectedString
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ResultOfIncludeWordForCollectedString(collected: Collected, xs: GenTraversable[String], original: Any, mustBeTrue: Boolean, prettifier: Prettifier, pos: Position)
Value Members
-
def
regex(rightRegex: Regex): Assertion
This method enables the following syntax:
This method enables the following syntax:
all(string) must include regex ("wo.ld".r) ^
-
def
regex(regexWithGroups: RegexWithGroups): Assertion
This method enables the following syntax:
This method enables the following syntax:
all(string) must include regex ("a(b*)c" withGroup "bb") ^
-
def
regex(rightRegexString: String): Assertion
This method enables the following syntax:
This method enables the following syntax:
all(string) must include regex ("world") ^
-
def
toString(): String
Overrides to return pretty toString.
Overrides to return pretty toString.
- returns
"ResultOfIncludeWordForCollectedString([collected], [xs], [mustBeTrue])"
- Definition Classes
- ResultOfIncludeWordForCollectedString → AnyRef → Any