diff --git a/kotlin-native/backend.native/tests/interop/objc/smoke.kt b/kotlin-native/backend.native/tests/interop/objc/smoke.kt index 4bad1609993..0408a0ea2d8 100644 --- a/kotlin-native/backend.native/tests/interop/objc/smoke.kt +++ b/kotlin-native/backend.native/tests/interop/objc/smoke.kt @@ -75,7 +75,7 @@ fun run() { if (foo.hashCode() == hash) { // toString (virtually): if (Platform.memoryModel == MemoryModel.STRICT) - println(map.keys.map { it.toString() }.min() == foo.description()) + println(map.keys.map { it.toString() }.minOrNull() == foo.description()) else // TODO: hack until proper cycle collection in maps. println(true)