ScalaTest 1.1
|
|
org/scalatest/matchers/Matchers.scala
]
final
class
ResultOfFullyMatchWordForString(left : java.lang.String, shouldBeTrue : Boolean)
extends
AnyRefShouldMatchers
or MustMatchers
for an overview of
the matchers DSL.Method Summary | |
def
|
regex
(rightRegex : scala.util.matching.Regex) : Unit
This method enables the following syntax:
string should fullymatch regex ("Hel*o world".r) ^ |
def
|
regex
(rightRegexString : java.lang.String) : Unit
This method enables the following syntax:
string should fullMatch regex ("Hel*o world") ^ |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Method Details |
def
regex(rightRegexString : java.lang.String) : Unit
string should fullMatch regex ("Hel*o world") ^
def
regex(rightRegex : scala.util.matching.Regex) : Unit
string should fullymatch regex ("Hel*o world".r) ^
ScalaTest 1.1
|
|