mirror of
https://github.com/adlawson/php-vfs.git
synced 2024-11-21 20:15:13 +00:00
Update directory and file tests
This commit is contained in:
parent
a7050a3990
commit
6733fb8c13
@ -120,7 +120,7 @@ class DirectoryTest extends UnitTestCase
|
|||||||
{
|
{
|
||||||
$dir = new Directory();
|
$dir = new Directory();
|
||||||
|
|
||||||
$this->assertEquals(StatInterface::TYPE_DIR, $dir->getMode() & StatInterface::S_IFMT);
|
$this->assertEquals(StatInterface::TYPE_DIR, $dir->getMode() & StatInterface::TYPE_MASK);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testGetSize()
|
public function testGetSize()
|
||||||
|
@ -54,7 +54,7 @@ class FileTest extends UnitTestCase
|
|||||||
{
|
{
|
||||||
$file = new File();
|
$file = new File();
|
||||||
|
|
||||||
$this->assertEquals(StatInterface::TYPE_FILE, $file->getMode() & StatInterface::S_IFMT);
|
$this->assertEquals(StatInterface::TYPE_FILE, $file->getMode() & StatInterface::TYPE_MASK);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testGetSize()
|
public function testGetSize()
|
||||||
|
Loading…
Reference in New Issue
Block a user