mirror of
https://github.com/splitbrain/php-archive.git
synced 2025-07-11 01:46:23 +02:00
chnage assertion method
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user