strikt-jvm / strikt.java / strikt.api.Assertion.Builder / startsWith

startsWith

infix fun <T : Path> Builder<T>.startsWith(other: Path): Builder<T>

Asserts that the subject starts with the provided path.

Parameters

other - the given path

See Also

Path.startsWith

infix fun <T : Path> Builder<T>.startsWith(other: String): Builder<T>

Asserts that the subject starts with the provided path.

Parameters

other - the given path string

See Also

Path.startsWith