You are here

public function Twig_Tests_ParserTest::getFilterBodyNodesDataThrowsException in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/test/Twig/Tests/ParserTest.php \Twig_Tests_ParserTest::getFilterBodyNodesDataThrowsException()

File

vendor/twig/twig/test/Twig/Tests/ParserTest.php, line 77

Class

Twig_Tests_ParserTest

Code

public function getFilterBodyNodesDataThrowsException() {
  return array(
    array(
      new Twig_Node_Text('foo', 1),
    ),
    array(
      new Twig_Node(array(
        new Twig_Node(array(
          new Twig_Node_Text('foo', 1),
        )),
      )),
    ),
  );
}