PSI Pattern Matching: Fix matching of !!

#KT-6021 Fixed
This commit is contained in:
Alexey Sedunov
2014-10-15 14:08:45 +04:00
parent 6f5a2172ac
commit b18b888161
6 changed files with 59 additions and 0 deletions
@@ -173,6 +173,12 @@ public class JetExtractionTestGenerated extends AbstractJetExtractionTest {
doIntroduceVariableTest(fileName);
}
@TestMetadata("notNullAssertion.kt")
public void testNotNullAssertion() throws Exception {
String fileName = JetTestUtils.navigationMetadata("idea/testData/refactoring/introduceVariable/notNullAssertion.kt");
doIntroduceVariableTest(fileName);
}
@TestMetadata("OccurrencesInStringTemplate.kt")
public void testOccurrencesInStringTemplate() throws Exception {
String fileName = JetTestUtils.navigationMetadata("idea/testData/refactoring/introduceVariable/OccurrencesInStringTemplate.kt");
@@ -1091,6 +1097,12 @@ public class JetExtractionTestGenerated extends AbstractJetExtractionTest {
doExtractFunctionTest(fileName);
}
@TestMetadata("notNullAssertion.kt")
public void testNotNullAssertion() throws Exception {
String fileName = JetTestUtils.navigationMetadata("idea/testData/refactoring/extractFunction/duplicates/notNullAssertion.kt");
doExtractFunctionTest(fileName);
}
@TestMetadata("outputValueAndUnitMatching.kt")
public void testOutputValueAndUnitMatching() throws Exception {
String fileName = JetTestUtils.navigationMetadata("idea/testData/refactoring/extractFunction/duplicates/outputValueAndUnitMatching.kt");