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();
|
||||
}
|
||||
|
||||
public void testVoid() {
|
||||
start();
|
||||
|
||||
typeAndNextTab("foo");
|
||||
typeAndNextTab("x : Int");
|
||||
|
||||
checkAfter();
|
||||
}
|
||||
|
||||
public void testIter() {
|
||||
start();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user