hasOneLineDescription = 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, and is not empty.