Replace with string templates: add curly braces if needed
#KT-37173 Fixed
This commit is contained in:
committed by
Yan Zhulanow
parent
8d3e41ae60
commit
bf3e739edf
+5
@@ -11162,6 +11162,11 @@ public class LocalInspectionTestGenerated extends AbstractLocalInspectionTest {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/testData/inspectionsLocal/replaceStringFormatWithLiteral"), Pattern.compile("^([\\w\\-_]+)\\.(kt|kts)$"), null, true);
|
||||
}
|
||||
|
||||
@TestMetadata("curlyBraces.kt")
|
||||
public void testCurlyBraces() throws Exception {
|
||||
runTest("idea/testData/inspectionsLocal/replaceStringFormatWithLiteral/curlyBraces.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("formattableArgs.kt")
|
||||
public void testFormattableArgs() throws Exception {
|
||||
runTest("idea/testData/inspectionsLocal/replaceStringFormatWithLiteral/formattableArgs.kt");
|
||||
|
||||
Reference in New Issue
Block a user