1
0
mirror of https://github.com/danog/file.git synced 2024-11-30 04:19:39 +01:00
file/test/BlockingDriverTest.php
2017-06-20 19:37:41 +02:00

17 lines
327 B
PHP

<?php
namespace Amp\File\Test;
use Amp\File;
use Amp\Loop;
use function Amp\asyncCall;
class BlockingDriverTest extends DriverTest {
protected function execute(callable $cb) {
Loop::run(function () use ($cb) {
File\filesystem(new File\BlockingDriver);
asyncCall($cb);
});
}
}