mirror of
https://github.com/danog/file.git
synced 2024-12-11 16:59:39 +01:00
21 lines
395 B
PHP
21 lines
395 B
PHP
<?php
|
|
|
|
namespace Amp\File\Test\Driver;
|
|
|
|
use Amp\File;
|
|
use Amp\File\Driver\EioDriver;
|
|
use Amp\File\Test\DriverTest;
|
|
use Amp\Loop;
|
|
|
|
class EioDriverTest extends DriverTest
|
|
{
|
|
protected function createDriver(): File\Driver
|
|
{
|
|
if (!\extension_loaded("eio")) {
|
|
$this->markTestSkipped("eio extension not loaded");
|
|
}
|
|
|
|
return new EioDriver(Loop::get());
|
|
}
|
|
}
|