Migrate compiler, idea and others to new case conversion api
This commit is contained in:
+4
-1
@@ -311,7 +311,10 @@ private class TestDataBuilder {
|
||||
.replace(KEYWORD_MARKER, keywordWithEscapeIfNeed)
|
||||
|
||||
|
||||
val fileName = "${suite.name.decapitalize()}${case.name.capitalize()}${keyword.capitalize()}.kt"
|
||||
val decapitalizedSuiteName = suite.name.replaceFirstChar(Char::lowercaseChar)
|
||||
val capitalizedCaseName = case.name.replaceFirstChar(Char::uppercaseChar)
|
||||
val capitalizedKeyword = keyword.replaceFirstChar(Char::uppercaseChar)
|
||||
val fileName = "$decapitalizedSuiteName$capitalizedCaseName$capitalizedKeyword.kt"
|
||||
|
||||
val testDataFile = File(testDataDirPath + "/" + fileName)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user