mirror of
https://github.com/danog/file.git
synced 2025-01-22 13:21:13 +01:00
Forgot Eio tests
This commit is contained in:
parent
1a6558c113
commit
701e1c974e
@ -5,6 +5,7 @@ namespace Amp\File\Test\Driver;
|
||||
use Amp\File;
|
||||
use Amp\File\Driver\EioDriver;
|
||||
use Amp\File\Test\DriverTest;
|
||||
use Amp\Loop;
|
||||
|
||||
class EioDriverTest extends DriverTest
|
||||
{
|
||||
@ -14,6 +15,6 @@ class EioDriverTest extends DriverTest
|
||||
$this->markTestSkipped("eio extension not loaded");
|
||||
}
|
||||
|
||||
return new EioDriver;
|
||||
return new EioDriver(Loop::get());
|
||||
}
|
||||
}
|
||||
|
@ -5,6 +5,7 @@ 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
|
||||
{
|
||||
@ -14,6 +15,6 @@ class EioFileTest extends AsyncFileTest
|
||||
$this->markTestSkipped("eio extension not loaded");
|
||||
}
|
||||
|
||||
return new EioDriver;
|
||||
return new EioDriver(Loop::get());
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user