diff --git a/native/native.tests/tests/org/jetbrains/kotlin/konan/blackboxtest/group/ExtTestCaseGroupProvider.kt b/native/native.tests/tests/org/jetbrains/kotlin/konan/blackboxtest/group/ExtTestCaseGroupProvider.kt index 3cf8e0ccde9..b3c772129e2 100644 --- a/native/native.tests/tests/org/jetbrains/kotlin/konan/blackboxtest/group/ExtTestCaseGroupProvider.kt +++ b/native/native.tests/tests/org/jetbrains/kotlin/konan/blackboxtest/group/ExtTestCaseGroupProvider.kt @@ -109,7 +109,8 @@ internal class ExtTestCaseGroupProvider( /** Tests that should be compiled and executed as standalone tests. */ private val standalones: Set = listOf( - "compiler/testData/codegen/box/annotations/instances/annotationToString.kt" // Comparison of type information obtained with reflection against non-patched string literal. + // Comparison of type information obtained with reflection against non-patched string literal: + "compiler/testData/codegen/box/annotations/instances/annotationToString.kt" ).mapToSet(::getAbsoluteFile) } } @@ -122,9 +123,9 @@ private class ExtTestDataFile( private val structure by lazy { structureFactory.ExtTestDataFileStructure(testDataFile) { line -> if (DIRECTIVE_REGEX.matches(line)) { - // Remove all directives from test files. These directives are not needed anymore as they are already - // read and stored in [settings] property. Moreover, these directives if left in test file can potentially conflict with - // Native-specific test directives to be added (see [TestDirectives] for details). Also, they will create unnecessary "noise". + // Remove all directives from test files. These directives are not needed anymore as they are already read and stored + // in [settings] property. Moreover, these directives if left in test file can potentially conflict with Native-specific + // test directives to be added (see [TestDirectives] for details). Also, they will create unnecessary "noise". // Examples: // // !LANGUAGE: +NewInference // // LANGUAGE: -ApproximateIntegerLiteralTypesInReceiverPosition @@ -145,7 +146,9 @@ private class ExtTestDataFile( ExtTestDataFileSettings( languageSettings = structure.directives.multiValues(LANGUAGE_DIRECTIVE) { - it != "+NewInference" /* It is already on by default, but passing it explicitly turns on a special "compatibility mode" in FE which is not desirable. */ + // It is already on by default, but passing it explicitly turns on a special "compatibility mode" in FE, + // which is not desirable. + it != "+NewInference" }, optInsForSourceCode = optInsForSourceCode + structure.directives.multiValues(USE_EXPERIMENTAL_DIRECTIVE), optInsForCompiler = optInsForCompiler, diff --git a/native/native.tests/tests/org/jetbrains/kotlin/konan/blackboxtest/group/TestCaseGroupProvider.kt b/native/native.tests/tests/org/jetbrains/kotlin/konan/blackboxtest/group/TestCaseGroupProvider.kt index 15bb562c996..9bce95baa08 100644 --- a/native/native.tests/tests/org/jetbrains/kotlin/konan/blackboxtest/group/TestCaseGroupProvider.kt +++ b/native/native.tests/tests/org/jetbrains/kotlin/konan/blackboxtest/group/TestCaseGroupProvider.kt @@ -152,7 +152,8 @@ internal class StandardTestCaseGroupProvider(private val environment: TestEnviro } if (expectFileDirectiveAfterModuleDirective) { - // Was expecting a line with the FILE directive as this is the only possible continuation of a line with the MODULE directive, but failed. + // Was expecting a line with the FILE directive as this is the only possible continuation of a line with + // the MODULE directive, but failed. fail { "$location: ${TestDirectives.FILE} directive expected after ${TestDirectives.MODULE} directive" } }