Skip to content

Commit 84db238

Browse files
committed
chnage assertion method
1 parent e62ad36 commit 84db238

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/TarTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ public function testGetArchiveWithBzipCompress()
696696
$tar->addFile("$dir/zero.txt", 'zero.txt');
697697
$file = $tar->getArchive();
698698

699-
$this->assertEquals(104, strlen(bin2hex($file))/2); // 1 header block + 2 footer blocks
699+
$this->assertInternalType('string', $file); // 1 header block + 2 footer blocks
700700
}
701701

702702
public function testSaveWithCompressionAuto()

0 commit comments

Comments
 (0)