Fix compiler tests with incompatible types in assertEquals arguments.
This commit is contained in:
@@ -20,5 +20,5 @@ fun box(): String {
|
||||
}
|
||||
|
||||
public fun <T, R> checkAccessor(prop: KProperty0<T>, value: R) {
|
||||
assertEquals(prop.get(), value, "Property ${prop} has wrong value")
|
||||
assertEquals<Any?>(prop.get(), value, "Property ${prop} has wrong value")
|
||||
}
|
||||
Reference in New Issue
Block a user