Refactor: extract test generation regexp into a common util object
This commit is contained in:
committed by
Space Team
parent
881997585a
commit
0295057520
+1
@@ -16,6 +16,7 @@ object TestGeneratorUtil {
|
||||
|
||||
@Language("RegExp") const val KT_WITHOUT_DOTS_IN_NAME = """^([^.]+)\.kt$"""
|
||||
@Language("RegExp") const val KT_WITHOUT_FIR_PREFIX = """^(.+)(?<!\.fir)\.kt$"""
|
||||
@Language("RegExp") const val KT_OR_KTS_WITH_FIR_PREFIX = "^(.+)\\.fir\\.kts?\$"
|
||||
|
||||
@JvmStatic
|
||||
fun escapeForJavaIdentifier(fileName: String): String {
|
||||
|
||||
Reference in New Issue
Block a user