diff --git a/kotlin-native/Interop/StubGenerator/src/test/kotlin/org/jetbrains/kotlin/native/interop/gen/StubIrToMetadataTests.kt b/kotlin-native/Interop/StubGenerator/src/test/kotlin/org/jetbrains/kotlin/native/interop/gen/StubIrToMetadataTests.kt index d9ce4d66188..45119795017 100644 --- a/kotlin-native/Interop/StubGenerator/src/test/kotlin/org/jetbrains/kotlin/native/interop/gen/StubIrToMetadataTests.kt +++ b/kotlin-native/Interop/StubGenerator/src/test/kotlin/org/jetbrains/kotlin/native/interop/gen/StubIrToMetadataTests.kt @@ -51,16 +51,6 @@ class StubIrToMetadataTests { properties: List = emptyList() ) = SimpleStubContainer(functions = functions, properties = properties) .let { ModuleMetadataEmitter(fqName, it).emit() } - .also(this::checkUniqIdPresence) - - private fun checkUniqIdPresence(metadata: KmModuleFragment) { - metadata.classes.forEach { assertNotNull(it.uniqId) } - metadata.pkg?.let { pkg -> - pkg.functions.forEach { assertNotNull(it.uniqId) } - pkg.properties.forEach { assertNotNull(it.uniqId) } - pkg.typeAliases.forEach { assertNotNull(it.uniqId) } - } - } @Test fun `single simple function`() {