ScalaTest 1.0
|
|
final
class
OrHaveWord
extends
AnyRefShouldMatchers
or MustMatchers
for an overview of
the matchers DSL.Method Summary | |
def
|
length
(expectedLength : Long) : Matcher[T with AnyRef]
This method enables the following syntax:
Array(1, 2) should (have length (2) and have length (3 - 1)) ^ |
def
|
size
(expectedSize : Long) : Matcher[T with AnyRef]
This method enables the following syntax:
Array(1, 2) should (have size (2) and have size (3 - 1)) ^ |
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 |
Array(1, 2) should (have length (2) and have length (3 - 1)) ^
Array(1, 2) should (have size (2) and have size (3 - 1)) ^
ScalaTest 1.0
|
|