mirror of
https://github.com/danog/amp.git
synced 2024-12-13 09:57:25 +01:00
18 lines
332 B
PHP
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"
|
|
);
|
|
}
|
|
}
|
|
}
|