ResultOfStartWithWordForCollectedString

final class ResultOfStartWithWordForCollectedString(collected: Collected, xs: Iterable[String], original: Any, shouldBeTrue: Boolean, prettifier: Prettifier, pos: Position)

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

class Object
trait Matchable
class Any

Value members

Concrete methods

infix def regex(rightRegexString: String): Assertion

This method enables the following syntax:

This method enables the following syntax:

all(string) should startWith regex ("Hel*o")
                            ^
infix def regex(regexWithGroups: RegexWithGroups): Assertion

This method enables the following syntax:

This method enables the following syntax:

all(string) should fullMatch regex ("a(b*)c" withGroup "bb")
                            ^
infix def regex(rightRegex: Regex): Assertion

This method enables the following syntax:

This method enables the following syntax:

all(string) should startWith regex ("Hel*o".r)
                            ^
override def toString: String

Overrides to return pretty toString.

Overrides to return pretty toString.

Returns:

"ResultOfStartWithWordForCollectedString([collected], [xs], [shouldBeTrue])"

Definition Classes
Any