1
0
mirror of https://github.com/danog/amp.git synced 2024-12-13 09:57:25 +01:00
amp/test/UvReactorTest.php
2015-07-20 22:27:11 -04:00

18 lines
332 B
PHP

<?php
namespace Amp\Test;
use Amp\UvReactor;
class UvReactorTest extends ReactorTest {
protected function getReactor() {
if (extension_loaded("uv")) {
return new UvReactor;
} else {
$this->markTestSkipped(
"php-uv extension not loaded"
);
}
}
}