public function RouteCompilerTest::testRouteWithSameVariableTwice

@expectedException \LogicException

File

drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Tests/RouteCompilerTest.php, line 157

Class

RouteCompilerTest

Namespace

Symfony\Component\Routing\Tests

Code

public function testRouteWithSameVariableTwice() {
  $route = new Route('/{name}/{name}');
  $compiled = $route
    ->compile();
}