Fix SimplifyBooleanWithConstantsIntention intention to avoid analyzing files created by JetPsiFactory
This commit is contained in:
@@ -4514,6 +4514,11 @@ public class IntentionTestGenerated extends AbstractIntentionTest {
|
||||
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.TestsPackage", new File("idea/testData/intentions/simplifyBooleanWithConstants"), Pattern.compile("^(.+)\\.kt$"), true);
|
||||
}
|
||||
|
||||
@TestMetadata("deeplyParenthesized.kt")
|
||||
public void testDeeplyParenthesized() throws Exception {
|
||||
doTest("idea/testData/intentions/simplifyBooleanWithConstants/deeplyParenthesized.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("inapplicableNoConstants.kt")
|
||||
public void testInapplicableNoConstants() throws Exception {
|
||||
doTest("idea/testData/intentions/simplifyBooleanWithConstants/inapplicableNoConstants.kt");
|
||||
|
||||
Reference in New Issue
Block a user