1
0
mirror of https://github.com/danog/file.git synced 2024-11-30 04:19:39 +01:00
file/test/Driver/EioFileTest.php
2020-07-06 13:28:39 -05:00

21 lines
399 B
PHP

<?php
namespace Amp\File\Test\Driver;
use Amp\File;
use Amp\File\Driver\EioDriver;
use Amp\File\Test\AsyncFileTest;
use Amp\Loop;
class EioFileTest extends AsyncFileTest
{
protected function createDriver(): File\Driver
{
if (!\extension_loaded("eio")) {
$this->markTestSkipped("eio extension not loaded");
}
return new EioDriver(Loop::get());
}
}