LoneElementStringWrapper
org.scalatest.LoneElement.LoneElementStringWrapper
Wrapper class that adds a loneElement method to String for which an implicit Collecting[C] is available.
Through the implicit conversion provided by trait LoneElement, this class allows you to make statements like:
"9".loneElement should be ('9')
Value parameters
- collecting
-
a typeclass that enables the
loneElementsyntax - s
-
the
Stringto wrap
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
In this article