[Routing] fixed indentation of dumped collections

This commit is contained in:
Fabien Potencier 2012-04-25 04:54:52 +02:00 committed by Arnaud Le Blanc
parent 1489021552
commit 562174a822

View File

@ -41,8 +41,6 @@ class PhpMatcherDumperTest extends \PHPUnit_Framework_TestCase
$basePath = __DIR__.'/../../Fixtures/dumper/';
$dumper = new PhpMatcherDumper($collection);
file_put_contents('/tmp/' . $fixture, $dumper->dump($options));
$this->assertStringEqualsFile($basePath.$fixture, $dumper->dump($options), '->dump() correctly dumps routes as optimized PHP code.');
}