From 7f06c12c53aa81a1058175fbc5c03e729c1a9b20 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Wed, 16 May 2012 17:00:05 +0200 Subject: [PATCH] fixed tests for PHP 5.2 --- .../Fixtures/regression/simple_xml_element.test | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/test/Twig/Tests/Fixtures/regression/simple_xml_element.test b/test/Twig/Tests/Fixtures/regression/simple_xml_element.test index 6cb036b..110aef8 100644 --- a/test/Twig/Tests/Fixtures/regression/simple_xml_element.test +++ b/test/Twig/Tests/Fixtures/regression/simple_xml_element.test @@ -1,5 +1,7 @@ --TEST-- Twig is able to deal with SimpleXMLElement instances as variables +--CONDITION-- +version_compare(phpversion(), '5.3.0', '>=') --TEMPLATE-- Hello '{{ images.image.0.group }}'! {{ images.children().count() }} -- 1.7.2.5