|
ScalaTest 1.0
|
|
org/scalatest/matchers/Matchers.scala]
final
class
ResultOfHaveWordForLengthWrapper[A](left : A, shouldBeTrue : Boolean, implicit view$7 : (A) => LengthWrapper)
extends AnyRefShouldMatchers or MustMatchers for an overview of
the matchers DSL.| Method Summary | |
def
|
length
(expectedLength : Long) : Unit
This method enables the following syntax:
obj should have length (2L)
^
|
def
|
length
(expectedLength : Int) : Unit
This method enables the following syntax:
obj should have length (2)
^
|
| 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 |
obj should have length (2)
^
This method is ultimately invoked for objects that have a length property structure
of type Int,
but is of a type that is not handled by implicit conversions from nominal types such as
scala.Seq, java.lang.String, and java.util.List.
obj should have length (2L)
^
This method is ultimately invoked for objects that have a length property structure
of type Long,
but is of a type that is not handled by implicit conversions from nominal types such as
scala.Seq, java.lang.String, and java.util.List.
|
ScalaTest 1.0
|
|