File
- drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Tests/Matcher/Dumper/ApacheMatcherDumperTest.php, line 55
Class
- ApacheMatcherDumperTest
Namespace
Symfony\Component\Routing\Tests\Matcher\Dumper
Code
public function testEscapeScriptName() {
$collection = new RouteCollection();
$collection
->add('foo', new Route('/foo'));
$dumper = new ApacheMatcherDumper($collection);
$this
->assertStringEqualsFile(self::$fixturesPath . '/dumper/url_matcher2.apache', $dumper
->dump(array(
'script_name' => 'ap p_d\\ ev.php',
)));
}