1
0
mirror of https://github.com/splitbrain/php-archive.git synced 2025-01-16 21:18:26 +01:00

chnage assertion method

This commit is contained in:
peter279k 2018-02-04 19:51:37 +08:00
parent e62ad36138
commit 84db2380b4

View File

@ -696,7 +696,7 @@ class TarTestCase extends TestCase
$tar->addFile("$dir/zero.txt", 'zero.txt');
$file = $tar->getArchive();
$this->assertEquals(104, strlen(bin2hex($file))/2); // 1 header block + 2 footer blocks
$this->assertInternalType('string', $file); // 1 header block + 2 footer blocks
}
public function testSaveWithCompressionAuto()