mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[kotlin][LC] UltraLightChecker: add stable order
Now more diff between sources and libraries are readable ^KT-62892 GitOrigin-RevId: 099af14f8abea00e88996bf03fbce95ee2059e62
This commit is contained in:
committed by
intellij-monorepo-bot
parent
5667e42590
commit
0687931ae1
+5
-1
@@ -34,7 +34,11 @@ object UltraLightChecker {
|
||||
|
||||
fun checkByJavaFile(testDataPath: String, lightClasses: List<PsiClass>) {
|
||||
val expectedTextFile = getJavaFileForTest(testDataPath)
|
||||
val renderedResult = renderLightClasses(testDataPath, lightClasses)
|
||||
val renderedResult = renderLightClasses(
|
||||
testDataPath,
|
||||
lightClasses.sortedBy { it.qualifiedName ?: it.name.toString() },
|
||||
)
|
||||
|
||||
KotlinTestUtils.assertEqualsToFile(expectedTextFile, renderedResult)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user