redundant cast: special processing for functional expressions as enum args (IDEA-154354)

This commit is contained in:
Anna.Kozlova
2016-04-15 18:43:24 +02:00
parent b701c29875
commit 09f46115cf
7 changed files with 50 additions and 21 deletions
@@ -69,6 +69,8 @@ public class LambdaRedundantCastTest extends LightDaemonAnalyzerTestCase {
doTest();
}
public void testEnumConstantWithFunctionalExpressionArg() throws Exception { doTest(); }
private void doTest() {
doTest(BASE_PATH + "/" + getTestName(false) + ".java", true, false);
}