I have written the notToBeAnInstanceOf() implement...
# atrium
t
I have written the notToBeAnInstanceOf() implementation as this
Copy code
fun <T> Expect<T>.notToBeAnInstanceOf(expected: T): Expect<T> = _logicAppend { toBe(expected) }
I have followed the tobe function as in anyExceptions.kt
Copy code
fun <T> Expect<T>.toEqual(expected: T): Expect<T> = _logicAppend { toBe(expected) }
r
please read the description in the issue. Have you written your tests, does it what you want? I am sure this will anwser your question as well
(hint: no your current implementation is wrong, should not use toBe)