Minor, don't use token COROUTINES_PACKAGE in bytecode listing tests
Most of the tests that are run both for 1.2 and 1.3 coroutines have different expectation .txt files anyway.
This commit is contained in:
+1
-3
@@ -29,9 +29,7 @@ abstract class AbstractBytecodeListingTest : CodegenTestCase() {
|
||||
prefixes.firstNotNullResult { File(wholeFile.parentFile, wholeFile.nameWithoutExtension + "$it.txt").takeIf(File::exists) }
|
||||
.sure { "No testData file exists: ${wholeFile.nameWithoutExtension}.txt" }
|
||||
|
||||
KotlinTestUtils.assertEqualsToFile(txtFile, actualTxt) {
|
||||
it.replace("COROUTINES_PACKAGE", coroutinesPackage)
|
||||
}
|
||||
KotlinTestUtils.assertEqualsToFile(txtFile, actualTxt)
|
||||
}
|
||||
|
||||
private fun isWithSignatures(wholeFile: File): Boolean =
|
||||
|
||||
Reference in New Issue
Block a user