From: fabien Date: Tue, 22 Dec 2009 06:44:59 +0000 (+0000) Subject: fixed error reporting in integration tests X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=8d1648e5bd764aa35f29ab5b9b73cb77fed8a304;p=konrad%2Ftwig.git fixed error reporting in integration tests git-svn-id: http://svn.twig-project.org/trunk@192 93ef8e89-cb99-4229-a87c-7fa0fa45744b --- diff --git a/test/unit/integrationTest.php b/test/unit/integrationTest.php index 97ce241..a347c43 100644 --- a/test/unit/integrationTest.php +++ b/test/unit/integrationTest.php @@ -96,7 +96,7 @@ foreach (new RecursiveIteratorIterator(new RecursiveDirectoryIterator($fixturesD foreach (array_keys($templates) as $name) { - list($source, ) = $loader->getSource($name); + $source = $loader->getSource($name); $t->comment($twig->compile($twig->parse($twig->tokenize($source, $name)))); } }