From bd063068c8fb0c23070910f7516d6eaf2850c456 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Thu, 19 Sep 2013 14:01:05 +0200 Subject: [PATCH] fixed a test on hhvm --- .../Fixtures/regression/simple_xml_element.test | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/test/Twig/Tests/Fixtures/regression/simple_xml_element.test b/test/Twig/Tests/Fixtures/regression/simple_xml_element.test index 110aef8..61babef 100644 --- a/test/Twig/Tests/Fixtures/regression/simple_xml_element.test +++ b/test/Twig/Tests/Fixtures/regression/simple_xml_element.test @@ -4,7 +4,7 @@ Twig is able to deal with SimpleXMLElement instances as variables version_compare(phpversion(), '5.3.0', '>=') --TEMPLATE-- Hello '{{ images.image.0.group }}'! -{{ images.children().count() }} +{{ images.children().image.count() }} {% for image in images %} - {{ image.group }} {% endfor %} -- 1.7.2.5