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:
parent
af2ce9b256
commit
534f67f7ef
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user