mirror of
https://github.com/shufflingpixels/php-io.git
synced 2026-08-18 13:18:13 +02:00
Rename FileMode::writeable to writable
This commit is contained in:
parent
ad457610d7
commit
2ea813589a
3 changed files with 5 additions and 5 deletions
|
|
@ -10,10 +10,10 @@ it('defines expected fopen mode values', function () {
|
|||
|
||||
it('reports read and write capabilities for each mode', function () {
|
||||
expect(FileMode::READ->readable())->toBeTrue()
|
||||
->and(FileMode::READ->writeable())->toBeFalse()
|
||||
->and(FileMode::READ->writable())->toBeFalse()
|
||||
->and(FileMode::WRITE->readable())->toBeFalse()
|
||||
->and(FileMode::WRITE->writeable())->toBeTrue()
|
||||
->and(FileMode::WRITE->writable())->toBeTrue()
|
||||
->and(FileMode::RW->readable())->toBeTrue()
|
||||
->and(FileMode::RW->writeable())->toBeTrue()
|
||||
->and(FileMode::RW->writable())->toBeTrue()
|
||||
->and(FileMode::READ->seekable())->toBeTrue();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue