mirror of
https://github.com/danog/amp.git
synced 2024-11-27 04:24:42 +01:00
21 lines
366 B
PHP
21 lines
366 B
PHP
<?php
|
|
|
|
namespace Amp\Test\Loop;
|
|
|
|
use Amp\Loop\UvDriver;
|
|
|
|
/**
|
|
* @requires extension uv
|
|
*/
|
|
class UvDriverTest extends DriverTest {
|
|
public function getFactory(): callable {
|
|
return function () {
|
|
return new UvDriver;
|
|
};
|
|
}
|
|
|
|
public function testHandle() {
|
|
$this->assertTrue(\is_resource($this->loop->getHandle()));
|
|
}
|
|
}
|