infix fun <T> Expect<T>.notToEqual(expected: T): Expect<T>
(source)
Expects that the subject of this
expectation is not (equal to) expected.
expect(2) notToEqual 3
fails {
expect(12) notToEqual 12
}
expect(listOf(2)) notToEqual listOf(3)
fails {
expect(listOf(2)) notToEqual listOf(2)
}
Return
an Expect for the subject of this
expectation.
Since
0.17.0