From: Fabien Potencier Date: Thu, 19 Sep 2013 12:01:05 +0000 (+0200) Subject: fixed a test on hhvm X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=bd063068c8fb0c23070910f7516d6eaf2850c456;p=web%2Fkonrad%2Ftwig.git fixed a test on hhvm --- 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 %}