mirror of
https://github.com/danog/file.git
synced 2024-12-12 09:19:48 +01:00
25 lines
439 B
PHP
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));
|
|
}
|
|
}
|