Skip to content

Commit e6e5a8e

Browse files
committed
using assertInternalType method
1 parent 9711a65 commit e6e5a8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/TarTestCase.php

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

701-
$this->assertEquals(102, strlen($file)); // 1 header block + 2 footer blocks
701+
$this->assertInternalType('string', $file); // 1 header block + 2 footer blocks
702702
}
703703

704704
public function testSaveWithCompressionAuto()

0 commit comments

Comments
 (0)