Refactor: extract test generation regexp into a common util object

This commit is contained in:
Svyatoslav Kuzmich
2023-10-05 12:27:27 +02:00
committed by Space Team
parent 881997585a
commit 0295057520
5 changed files with 10 additions and 6 deletions
@@ -7,6 +7,7 @@ package org.jetbrains.kotlin.generators.tests
import org.jetbrains.kotlin.generators.generateTestGroupSuiteWithJUnit5
import org.jetbrains.kotlin.generators.impl.generateTestGroupSuite
import org.jetbrains.kotlin.generators.util.TestGeneratorUtil
import org.jetbrains.kotlin.incremental.*
import org.jetbrains.kotlin.js.test.*
import org.jetbrains.kotlin.js.test.fir.*
@@ -25,7 +26,7 @@ fun main(args: Array<String>) {
"compileKotlinAgainstKotlin",
)
val excludedFirTestdataPattern = "^(.+)\\.fir\\.kts?\$"
val excludedFirTestdataPattern = TestGeneratorUtil.KT_OR_KTS_WITH_FIR_PREFIX
// TODO: repair these tests
//generateTestDataForReservedWords()