[K/N] Don't check UniqId because it is an obsolete extension

This commit is contained in:
Sergey Bogolepov
2021-10-01 18:35:29 +07:00
committed by Space
parent ba759fb61b
commit 2f6a9519c0
@@ -51,16 +51,6 @@ class StubIrToMetadataTests {
properties: List<PropertyStub> = 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`() {