1
0
mirror of https://github.com/danog/file.git synced 2024-12-04 10:17:52 +01:00
file/test/UvDriverTest.php
2020-02-21 13:05:03 -06:00

25 lines
439 B
PHP

<?php
namespace Amp\File\Test;
use Amp\File;
use Amp\Loop;
class UvDriverTest extends DriverTest
{
protected function setUp(): void
{
parent::setUp();
if (!\extension_loaded("uv")) {
$this->markTestSkipped(
"php-uv extension not loaded"
);
}
$loop = new Loop\UvDriver;
Loop::set($loop);
File\filesystem(new File\UvDriver($loop));
}
}