|
@@ -19,10 +19,11 @@ class RouteTest extends PHPUnit_Framework_TestCase {
|
|
|
{
|
|
|
$route = new Laravel\Routing\Route('GET /', array('handles' => array('GET /foo/bar')));
|
|
|
|
|
|
- $this->assertFalse($route->handles('/'));
|
|
|
- $this->assertFalse($route->handles('baz'));
|
|
|
$this->assertTrue($route->handles('foo/*'));
|
|
|
$this->assertTrue($route->handles('foo/bar'));
|
|
|
+ $this->assertFalse($route->handles('/'));
|
|
|
+ $this->assertFalse($route->handles('baz'));
|
|
|
+ $this->assertFalse($route->handles('/foo'));
|
|
|
|
|
|
$route = new Laravel\Routing\Route('GET /', array('handles' => array('GET /', 'GET /home')));
|
|
|
|