isNotEqualTo

fun Assert<Any?>.isNotEqualTo(expected: Any?)

Asserts the value is not equal to the expected one, using !=.

See also


fun <T> Assert<Array<T>>.isNotEqualTo(expected: Array<T>)

Asserts the array contents are not equal to the expected one, using contentDeepEquals.

See also


fun Assert<String?>.isNotEqualTo(other: String?, ignoreCase: Boolean = false)

Asserts the string is not equal to the expected string.

Parameters

ignoreCase

true to compare ignoring case, the default if false.

See also