Added simple test

This commit is contained in:
Antonio de la Rosa 2022-04-30 00:24:02 +02:00
parent fc8d81f9f9
commit 69b39cbb55

View file

@ -52,6 +52,8 @@ class RouterTest extends TestCase {
$this->assertEquals([1 => 'etc', 2 => 'passwd'], \PhangoApp\PhaRouter\filter_path('/...../etc/passwd'));
$this->assertEquals([1 => 'etc', 2 => 'passwd'], \PhangoApp\PhaRouter\filter_path('/../../etc/passwd'));
}
}