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") endsNotWith "X"
fails {
expect("ABC") endsNotWith "BC"
}
Return
This assertion container to support a fluent API.
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") endsNotWith 'X'
fails {
expect("ABC") endsNotWith 'C'
}
Return
This assertion container to support a fluent API.
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