doc / ch.tutteli.atrium.api.infix.en_GB / startsNotWith

startsNotWith

infix fun <T : CharSequence> Expect<T>.startsNotWith(expected: CharSequence): Expect<T> (source)
Deprecated: Use notToStartWith; will be removed with 1.0.0 at the latest

Expects that the subject of this expectation (a CharSequence) does not start with expected.

expect("ABC") notToStartWith "X"

fails {
    expect("ABC") notToStartWith "AB"
}

Return
an Expect for the subject of this expectation.

infix fun <T : CharSequence> Expect<T>.startsNotWith(expected: Char): Expect<T> (source)
Deprecated: Use notToStartWith which expects a String; will be removed with 1.0.0 at the latest

Expects that the subject of this expectation (a CharSequence) does not start with expected.

expect("ABC") notToStartWith 'X'.toString()

fails {
    expect("ABC") notToStartWith 'A'.toString()
}

Return
an Expect for the subject of this expectation.

Since
0.12.0

infix fun <T : Path> Expect<T>.startsNotWith(expected: Path): Expect<T> (source)
Deprecated: Use notToStartWith; will be removed with 1.0.0 at the latest

Expects that the subject of this expectation (a Path) does not start with the expected.

Return
an Expect for the subject of this expectation.

Since
0.12.0