fun <T : CharSequence> Expect<T>.toBeEmpty(): Expect<T>
(source)
Expects that the subject of this
expectation (a CharSequence) CharSequence.kotlin.text.isEmpty.
expect("").toBeEmpty()
fails {
expect("XYZ").toBeEmpty()
}
Return
an Expect for the subject of this
expectation.
Since
0.17.0