Use minOrNull instead of deprecated min in the interop_objc_test

This commit is contained in:
Pavel Punegov
2021-04-08 11:36:42 +03:00
parent 512010046f
commit afdecef112
@@ -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)