[PowerAssert] Add tests to recreate KT-65810
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
// FUNCTION: infix.dispatch.Wrapper.mustEqual
|
||||
|
||||
import infix.dispatch.*
|
||||
|
||||
data class Holder<T>(val wrapper: Wrapper<T>)
|
||||
data object Complex {
|
||||
val holder = Holder(Wrapper(3))
|
||||
}
|
||||
|
||||
fun box() = expectThrowableMessage {
|
||||
Complex.holder.wrapper.mustEqual("world".length)
|
||||
}
|
||||
Reference in New Issue
Block a user