[SLC] AbstractSymbolLightClassesByPsiTest: add more stable order
Now more diff between sources and libraries are readable. Also prefer .descriptors to .fir as FIR is a first-class support ^KT-62892
This commit is contained in:
committed by
Space Team
parent
d64f18eaa9
commit
af5f76048b
+2
-1
@@ -54,8 +54,9 @@ abstract class AbstractSymbolLightClassesByPsiTest(
|
||||
val lcViaFinder = finder.findClass(lc.qualifiedName!!, scope)
|
||||
TestCase.assertEquals(lc, lcViaFinder)
|
||||
}
|
||||
|
||||
return withExtendedTypeRenderer(testDataFile) {
|
||||
lightClasses.sortedBy { it.name }.joinToString("\n\n") { it.renderClass() }
|
||||
lightClasses.sortedBy { it.qualifiedName ?: it.name.toString() }.joinToString("\n\n") { it.renderClass() }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user