1
0
mirror of https://github.com/danog/file.git synced 2024-12-05 13:10:57 +01:00
file/test/Driver/EioFilesystemDriverTest.php

21 lines
499 B
PHP
Raw Normal View History

2022-12-17 22:52:21 +01:00
<?php declare(strict_types=1);
2022-02-08 19:49:16 +01:00
namespace Amp\File\Test\Driver;
use Amp\File;
use Amp\File\Driver\EioFilesystemDriver;
use Amp\File\Test\FilesystemDriverTest;
use Revolt\EventLoop;
class EioFilesystemDriverTest extends FilesystemDriverTest
{
protected function createDriver(): File\FilesystemDriver
{
if (!\extension_loaded("eio")) {
$this->markTestSkipped("eio extension not loaded");
}
return new EioFilesystemDriver(EventLoop::getDriver());
}
}