Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 61906bb

Browse files
committed
fixup! Impl. Expression Language Injections for PHP (tests)
1 parent 91b70a9 commit 61906bb

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

‎src/test/java/fr/adrienbrault/idea/symfony2plugin/tests/lang/StringLiteralLanguageInjectorTest.java‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,15 @@ public void testExpressionLanguageLanguageInjections() {
182182
LANGUAGE_ID_EXPRESSION_LANGUAGE
183183
);
184184

185+
assertInjectedLangAtCaret(
186+
"<?php\n" +
187+
"\n" +
188+
"use Symfony\\Component\\Validator\\Constraints\\Expression;\n" +
189+
"\n" +
190+
"new Expression(['expression' => '<caret>']);\n",
191+
LANGUAGE_ID_EXPRESSION_LANGUAGE
192+
);
193+
185194
assertInjectedLangAtCaret(
186195
"<?php\n" +
187196
"\n" +

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /