fixed unit test broken by previous merge
authorFabien Potencier <fabien.potencier@gmail.com>
Thu, 29 Sep 2011 14:44:28 +0000 (16:44 +0200)
committerFabien Potencier <fabien.potencier@gmail.com>
Thu, 29 Sep 2011 14:44:28 +0000 (16:44 +0200)
test/Twig/Tests/Node/Expression/Binary/FloorDivTest.php

index cfa335c..94ff2f6 100644 (file)
@@ -43,7 +43,7 @@ class Twig_Tests_Node_Expression_Binary_FloorDivTest extends Twig_Tests_Node_Tes
         $node = new Twig_Node_Expression_Binary_FloorDiv($left, $right, 0);
 
         return array(
-            array($node, 'floor((1 / 2))'),
+            array($node, 'intval(floor((1 / 2)))'),
         );
     }
 }