This repository has been archived on 2022-02-10. You can view files and clone it, but cannot push or open issues or pull requests.
rangitaki/vendor/nikic/fast-route/test/Dispatcher/MarkBasedTest.php
2016-05-07 12:59:40 +02:00

20 lines
511 B
PHP

<?php
namespace FastRoute\Dispatcher;
class MarkBasedTest extends DispatcherTest {
public function setUp() {
preg_match('/(*MARK:A)a/', 'a', $matches);
if (!isset($matches['MARK'])) {
$this->markTestSkipped('PHP 5.6 required for MARK support');
}
}
protected function getDispatcherClass() {
return 'FastRoute\\Dispatcher\\MarkBased';
}
protected function getDataGeneratorClass() {
return 'FastRoute\\DataGenerator\\MarkBased';
}
}