[Test] Use DUMP_EXTERNAL_CLASS instead of invalid DUMP_DEPENDENCIES directive in ir text tests
This commit is contained in:
committed by
Space Team
parent
9946bfcdfd
commit
e7f6482857
+1
-1
@@ -99,7 +99,7 @@ class IrTextDumpHandler(testServices: TestServices) : AbstractIrHandler(testServ
|
||||
val baseFile = testServices.moduleStructure.originalTestDataFiles.first()
|
||||
for (externalClassFqn in externalClassFqns) {
|
||||
val classDump = stubGenerator.generateExternalClass(irModule.descriptor, externalClassFqn).dump()
|
||||
val expectedFile = baseFile.withSuffixAndExtension("__$externalClassFqn", module.dumpExtension)
|
||||
val expectedFile = baseFile.withSuffixAndExtension(".__$externalClassFqn", module.dumpExtension)
|
||||
assertions.assertEqualsToFile(expectedFile, classDump)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user