We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 713d849 commit 7aaacf3Copy full SHA for 7aaacf3
1 file changed
tests/TarTestCase.php
@@ -695,8 +695,10 @@ public function testGetArchiveWithBzipCompress()
695
$tar->create();
696
$tar->addFile("$dir/zero.txt", 'zero.txt');
697
$file = $tar->getArchive();
698
+ $output = vfsStream::url('home_root_path/saved.tar.bz2');
699
+ file_put_contents($output, $file);
700
- $this->assertInternalType('string', $file); // 1 header block + 2 footer blocks
701
+ $this->assertEquals(104, filesize($output)); // 1 header block + 2 footer blocks
702
}
703
704
public function testSaveWithCompressionAuto()
0 commit comments