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:
parent
e62ad36138
commit
84db2380b4
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user