Adopt more tests for functions from codegen tests.
Create test for KT-2565.
This commit is contained in:
@@ -166,6 +166,16 @@ public final class MiscTest extends AbstractExpressionTest {
|
||||
checkOutput("lazyProperty.kt", "Hello, world! Gotcha 3");
|
||||
}
|
||||
|
||||
public void testLocalVarAsFunction() throws Exception {
|
||||
fooBoxIsValue("OK");
|
||||
}
|
||||
|
||||
//TODO:see http://youtrack.jetbrains.com/issue/KT-2565
|
||||
@SuppressWarnings("UnusedDeclaration")
|
||||
public void TODO_testFunctionExpression() throws Exception {
|
||||
fooBoxIsValue("OK");
|
||||
}
|
||||
|
||||
public void testExclExclThrows() throws Exception {
|
||||
try {
|
||||
fooBoxTest();
|
||||
|
||||
Reference in New Issue
Block a user