notToBeBlank

Expects that the subject of this expectation (a CharSequence) CharSequence.kotlin.text.isNotBlank.

Return

an Expect for the subject of this expectation.

Since

0.17.0

Samples

expect("XZY").notToBeBlank()

fails {
    expect(" ").notToBeBlank()
}

fails { // because an empty string is also considered to be a blank string
    expect("").notToBeBlank()
}