diff --git a/idea/testData/templates/soutp.exp.kt b/idea/testData/templates/soutp.exp.kt new file mode 100644 index 00000000000..f2ea1f6b927 --- /dev/null +++ b/idea/testData/templates/soutp.exp.kt @@ -0,0 +1,5 @@ +fun main(args : Array) { + fun secondary(x : Int, y : Int) { + println("x = [${x}], y = [${y}]") + } +} diff --git a/idea/testData/templates/soutp.kt b/idea/testData/templates/soutp.kt new file mode 100644 index 00000000000..b76b88f16f9 --- /dev/null +++ b/idea/testData/templates/soutp.kt @@ -0,0 +1,5 @@ +fun main(args : Array) { + fun secondary(x : Int, y : Int) { + + } +} diff --git a/idea/tests/org/jetbrains/jet/plugin/codeInsight/LiveTemplatesTest.java b/idea/tests/org/jetbrains/jet/plugin/codeInsight/LiveTemplatesTest.java index 1cec8a29a6c..53d0f32b79c 100644 --- a/idea/tests/org/jetbrains/jet/plugin/codeInsight/LiveTemplatesTest.java +++ b/idea/tests/org/jetbrains/jet/plugin/codeInsight/LiveTemplatesTest.java @@ -48,6 +48,10 @@ public class LiveTemplatesTest extends LightCodeInsightFixtureTestCase { checkAfter(); } + public void testSoutp() { + paremeterless(); + } + public void testIter() { start();