"To ordinary string literal": don't add unnecessary escapes to characters in template expression

#KT-36406 Fixed
This commit is contained in:
Toshiaki Kameyama
2020-02-06 23:13:14 +09:00
committed by Yan Zhulanow
parent bf3e739edf
commit 81d01a8f8e
8 changed files with 63 additions and 6 deletions
@@ -16168,6 +16168,11 @@ public class IntentionTestGenerated extends AbstractIntentionTest {
runTest("idea/testData/intentions/toOrdinaryStringLiteral/quotesAndSlashes.kt");
}
@TestMetadata("quotesInExpression.kt")
public void testQuotesInExpression() throws Exception {
runTest("idea/testData/intentions/toOrdinaryStringLiteral/quotesInExpression.kt");
}
@TestMetadata("simple.kt")
public void testSimple() throws Exception {
runTest("idea/testData/intentions/toOrdinaryStringLiteral/simple.kt");
@@ -16178,6 +16183,16 @@ public class IntentionTestGenerated extends AbstractIntentionTest {
runTest("idea/testData/intentions/toOrdinaryStringLiteral/trimIndent1.kt");
}
@TestMetadata("trimIndent10.kt")
public void testTrimIndent10() throws Exception {
runTest("idea/testData/intentions/toOrdinaryStringLiteral/trimIndent10.kt");
}
@TestMetadata("trimIndent11.kt")
public void testTrimIndent11() throws Exception {
runTest("idea/testData/intentions/toOrdinaryStringLiteral/trimIndent11.kt");
}
@TestMetadata("trimIndent2.kt")
public void testTrimIndent2() throws Exception {
runTest("idea/testData/intentions/toOrdinaryStringLiteral/trimIndent2.kt");