infix fun <T : CharSequence> Expect<T>.endsNotWith(expected: CharSequence): Expect<T>
(source)Expects that the subject of this
expectation (a CharSequence) does not end with expected.
expect("ABC") notToEndWith "X"
fails {
expect("ABC") notToEndWith "BC"
}
Return
an Expect for the subject of this
expectation.
infix fun <T : CharSequence> Expect<T>.endsNotWith(expected: Char): Expect<T>
(source)Expects that the subject of this
expectation (a CharSequence) does not end with expected.
expect("ABC") notToEndWith 'X'.toString()
fails {
expect("ABC") notToEndWith 'C'.toString()
}
Return
an Expect for the subject of this
expectation.
Since
0.12.0
infix fun <T : Path> Expect<T>.endsNotWith(expected: Path): Expect<T>
(source)Expects that the subject of this
expectation (a Path) does not end with the expected Path;
expected
- The Path provided to the assertion
Return
an Expect for the subject of this
expectation.
Since
0.12.0