final class ResultOfIncludeWordForString 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
- Matchers.scala
- Alphabetic
- By Inheritance
- ResultOfIncludeWordForString
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ResultOfIncludeWordForString(left: String, 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:
string must include regex ("wo.ld".r) ^
- def regex(regexWithGroups: RegexWithGroups): Assertion
This method enables the following syntax:
This method enables the following syntax:
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:
string must include regex ("world") ^
- def toString(): String
Overrides to return pretty toString.
Overrides to return pretty toString.
- returns
"ResultOfIncludeWordForString([left], [mustBeTrue])"
- Definition Classes
- ResultOfIncludeWordForString → AnyRef → Any