mirror of
https://github.com/danog/file.git
synced 2024-12-12 09:19:48 +01:00
20 lines
372 B
PHP
20 lines
372 B
PHP
<?php
|
|
|
|
namespace Amp\File\Test\Driver;
|
|
|
|
use Amp\File;
|
|
use Amp\File\Driver\EioDriver;
|
|
use Amp\File\Test\AsyncFileTest;
|
|
|
|
class EioFileTest extends AsyncFileTest
|
|
{
|
|
protected function createDriver(): File\Driver
|
|
{
|
|
if (!\extension_loaded("eio")) {
|
|
$this->markTestSkipped("eio extension not loaded");
|
|
}
|
|
|
|
return new EioDriver;
|
|
}
|
|
}
|