ResultOfStartWithWordForString

org.scalatest.matchers.must.Matchers.ResultOfStartWithWordForString
final class ResultOfStartWithWordForString(left: String, mustBeTrue: Boolean, prettifier: Prettifier, pos: Position)

This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers for an overview of the matchers DSL.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

infix def regex(rightRegexString: String): Assertion

This method enables the following syntax:

This method enables the following syntax:

string must startWith regex ("Hel*o")
                       ^

Attributes

infix def regex(regexWithGroups: RegexWithGroups): Assertion

This method enables the following syntax:

This method enables the following syntax:

string must startWith regex ("a(b*)c" withGroup "bb")
                       ^

Attributes

infix def regex(rightRegex: Regex): Assertion

This method enables the following syntax:

This method enables the following syntax:

string must startWith regex ("Hel*o".r)
                       ^

Attributes

override def toString: String

Overrides to return pretty toString.

Overrides to return pretty toString.

Attributes

Returns

"ResultOfStartWithWordForString([left], [mustBeTrue])"

Definition Classes
Any