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