1
0
mirror of https://github.com/danog/amp.git synced 2025-01-22 21:31:18 +01:00
amp/test/Loop/UvDriverTest.php

21 lines
366 B
PHP
Raw Normal View History

2016-06-09 12:57:46 -05:00
<?php
namespace Amp\Test\Loop;
use Amp\Loop\UvDriver;
2016-06-09 12:57:46 -05:00
/**
* @requires extension uv
*/
class UvDriverTest extends DriverTest {
public function getFactory(): callable {
return function () {
return new UvDriver;
};
2016-06-09 12:57:46 -05:00
}
public function testHandle() {
$this->assertTrue(\is_resource($this->loop->getHandle()));
}
2016-06-09 12:57:46 -05:00
}