mirror of
https://github.com/danog/file.git
synced 2024-11-26 20:04:51 +01:00
17 lines
391 B
PHP
17 lines
391 B
PHP
<?php
|
|
|
|
namespace Amp\Filesystem\Test;
|
|
|
|
class EioDriverTest extends DriverTest {
|
|
protected function setUp() {
|
|
if (extension_loaded("eio")) {
|
|
\Amp\reactor(\Amp\init());
|
|
\Amp\Filesystem\filesystem(new \Amp\Filesystem\EioDriver);
|
|
} else {
|
|
$this->markTestSkipped(
|
|
"eio extension not loaded"
|
|
);
|
|
}
|
|
}
|
|
}
|