Skip to content

Commit

Permalink
fixup! Impl. Expression Language Injections for PHP (tests)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwojs committed Jul 18, 2021
1 parent b919e5f commit 5464605
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,15 @@ public void testExpressionLanguageLanguageInjections() {
LANGUAGE_ID_EXPRESSION_LANGUAGE
);

assertInjectedLangAtCaret(
"<?php\n" +
"\n" +
"use Symfony\\Component\\Validator\\Constraints\\Expression;\n" +
"\n" +
"new Expression(['expression' => '<caret>']);\n",
LANGUAGE_ID_EXPRESSION_LANGUAGE
);

assertInjectedLangAtCaret(
"<?php\n" +
"\n" +
Expand Down

0 comments on commit 5464605

Please sign in to comment.