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

startsNotWith

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").startsNotWith("X")

fails {
    expect("ABC").startsNotWith("AB")
}

Return
an Expect for the subject of this expectation.

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").startsNotWith('X')

fails {
    expect("ABC").startsNotWith('A')
}

Return
an Expect for the subject of this expectation.

Since
0.9.0

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.9.0