Skip to content

Commit 4bc1115

Browse files
committed
2020.3 support: removed invalid case - else branch cannot contain any conditions
1 parent fdd0769 commit 4bc1115

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/test/java/fr/adrienbrault/idea/symfony2plugin/tests/templating/TwigTemplateGoToDeclarationHandlerTest.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -198,11 +198,6 @@ public void testFunctionNavigation() {
198198
"{% if foo<caret>_test() %}{% endif %}", PlatformPatterns.psiElement(Function.class).withName("foo_test")
199199
);
200200

201-
assertNavigationMatch(
202-
TwigFileType.INSTANCE,
203-
"{% if %}{% else foo<caret>_test() %}{% endif %}", PlatformPatterns.psiElement(Function.class).withName("foo_test")
204-
);
205-
206201
assertNavigationMatch(
207202
TwigFileType.INSTANCE,
208203
"{% if %}{% elseif foo<caret>_test() %}{% endif %}", PlatformPatterns.psiElement(Function.class).withName("foo_test")

0 commit comments

Comments
 (0)