public function Twig_Tests_ExpressionParserTest::getFailingTestsForAssignment in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/twig/twig/test/Twig/Tests/ExpressionParserTest.php \Twig_Tests_ExpressionParserTest::getFailingTestsForAssignment()
File
- vendor/
twig/ twig/ test/ Twig/ Tests/ ExpressionParserTest.php, line 26
Class
Code
public function getFailingTestsForAssignment() {
return array(
array(
'{% set false = "foo" %}',
),
array(
'{% set true = "foo" %}',
),
array(
'{% set none = "foo" %}',
),
array(
'{% set 3 = "foo" %}',
),
array(
'{% set 1 + 2 = "foo" %}',
),
array(
'{% set "bar" = "foo" %}',
),
array(
'{% set %}{% endset %}',
),
);
}