public function StringBasedFileContentTestCase::truncateDecreasesSize in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/content/StringBasedFileContentTestCase.php \org\bovigo\vfs\content\StringBasedFileContentTestCase::truncateDecreasesSize()
@test @group issue_33 @since 1.1.0
File
- vendor/
mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ content/ StringBasedFileContentTestCase.php, line 200
Class
Namespace
org\bovigo\vfs\contentCode
public function truncateDecreasesSize() {
$this
->assertTrue($this->stringBasedFileContent
->truncate(6));
$this
->assertEquals(6, $this->stringBasedFileContent
->size());
}