Added test for 'void' live template.
This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
fun foo(x : Int) {
|
||||||
|
<caret>
|
||||||
|
}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
<caret>
|
||||||
@@ -134,6 +134,15 @@ public class LiveTemplatesTest extends LightCodeInsightFixtureTestCase {
|
|||||||
checkAfter();
|
checkAfter();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void testVoid() {
|
||||||
|
start();
|
||||||
|
|
||||||
|
typeAndNextTab("foo");
|
||||||
|
typeAndNextTab("x : Int");
|
||||||
|
|
||||||
|
checkAfter();
|
||||||
|
}
|
||||||
|
|
||||||
public void testIter() {
|
public void testIter() {
|
||||||
start();
|
start();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user