hasOneLineDescription top-level constant
Matcher
const hasOneLineDescription
Asserts that an object's toString() is a plausible one-line description.
Specifically, this matcher checks that the string does not contains newline
characters, and does not have leading or trailing whitespace, is not
empty, and does not contain the default Instance of ...
string.
Implementation
const Matcher hasOneLineDescription = _HasOneLineDescription();