public function LargeFileContentTestCase::truncateReducesSize in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/content/LargeFileContentTestCase.php \org\bovigo\vfs\content\LargeFileContentTestCase::truncateReducesSize()
@test
File
- vendor/
mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ content/ LargeFileContentTestCase.php, line 170
Class
Namespace
org\bovigo\vfs\contentCode
public function truncateReducesSize() {
$this
->assertTrue($this->largeFileContent
->truncate(50));
$this
->assertEquals(50, $this->largeFileContent
->size());
}