Added test for 'void' live template.

This commit is contained in:
Evgeny Gerashchenko
2012-02-13 21:42:39 +04:00
parent 1c8ca38380
commit a790616eef
3 changed files with 13 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
fun foo(x : Int) {
<caret>
}
+1
View File
@@ -0,0 +1 @@
<caret>
@@ -134,6 +134,15 @@ public class LiveTemplatesTest extends LightCodeInsightFixtureTestCase {
checkAfter();
}
public void testVoid() {
start();
typeAndNextTab("foo");
typeAndNextTab("x : Int");
checkAfter();
}
public void testIter() {
start();