Packages

c

org.scalatest.words

LengthWord

final class LengthWord extends AnyRef

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

Source
LengthWord.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LengthWord
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LengthWord()

Value Members

  1. def apply(expectedLength: Long): ResultOfLengthWordApplication

    This method enables the following syntax:

    This method enables the following syntax:

    "hi" should not have length (3)
                                ^
    

  2. def toString(): String

    Overrides toString to return "length"

    Overrides toString to return "length"

    Definition Classes
    LengthWord → AnyRef → Any