diff --git a/idea/idea-live-templates/testData/soutv.exp.kt b/idea/idea-live-templates/testData/soutv.exp.kt index 48cc752b70f..361c6e76882 100644 --- a/idea/idea-live-templates/testData/soutv.exp.kt +++ b/idea/idea-live-templates/testData/soutv.exp.kt @@ -1,5 +1,5 @@ fun main(args : Array) { val x = 5 val y = "str" - println("y = ${y}") + println("y.plus(\"test\") = ${y.plus("test")}") } diff --git a/idea/idea-live-templates/tests/org/jetbrains/kotlin/idea/liveTemplates/LiveTemplatesTest.kt b/idea/idea-live-templates/tests/org/jetbrains/kotlin/idea/liveTemplates/LiveTemplatesTest.kt index 58593f69010..afcdb6d4803 100644 --- a/idea/idea-live-templates/tests/org/jetbrains/kotlin/idea/liveTemplates/LiveTemplatesTest.kt +++ b/idea/idea-live-templates/tests/org/jetbrains/kotlin/idea/liveTemplates/LiveTemplatesTest.kt @@ -80,7 +80,7 @@ class LiveTemplatesTest : KotlinLightCodeInsightFixtureTestCase() { start() assertStringItems("DEFAULT_BUFFER_SIZE", "args", "x", "y") - typeAndNextTab("y") + typeAndNextTab("y.plus(\"test\")") checkAfter() } diff --git a/idea/resources/liveTemplates/Kotlin.xml b/idea/resources/liveTemplates/Kotlin.xml index 0f29ed7bf59..7603ba815f5 100644 --- a/idea/resources/liveTemplates/Kotlin.xml +++ b/idea/resources/liveTemplates/Kotlin.xml @@ -43,7 +43,7 @@ value="println("$EXPR_COPY$ = $DOLLAR${$EXPR$}")"> - +