1
0
mirror of https://github.com/danog/file.git synced 2024-11-26 20:04:51 +01:00

Add PHP 5 yield parenthesis...

This commit is contained in:
Bob Weinand 2016-10-04 14:02:51 +02:00
parent af2ce9b256
commit 534f67f7ef

View File

@ -282,7 +282,7 @@ abstract class DriverTest extends \PHPUnit_Framework_TestCase {
$dir = "{$fixtureDir}/newdir";
yield file\mkdir($dir);
$stat = yield file\stat($dir);
$stat = (yield file\stat($dir));
$this->assertTrue(($stat["mode"] & 0777) == 0644);
yield file\rmdir($dir);
$this->assertNull(yield file\stat($dir));