mirror of
https://github.com/splitbrain/php-archive.git
synced 2025-01-17 13:38:26 +01:00
set the assertGreaterThanOrEqual
This commit is contained in:
parent
da604987be
commit
12f443977f
@ -686,9 +686,7 @@ class TarTestCase extends TestCase
|
||||
$this->assertNull($tar->close());
|
||||
}
|
||||
|
||||
/**
|
||||
* @depends testExtBz2IsInstalled
|
||||
*/
|
||||
|
||||
public function testGetArchiveWithBzipCompress()
|
||||
{
|
||||
$dir = dirname(__FILE__) . '/tar';
|
||||
@ -698,7 +696,7 @@ class TarTestCase extends TestCase
|
||||
$tar->addFile("$dir/zero.txt", 'zero.txt');
|
||||
$file = $tar->getArchive();
|
||||
|
||||
$this->assertEquals(102, strlen($file)); // 1 header block + 2 footer blocks
|
||||
$this->assertGreaterThanOrEqual(102, strlen($file)); // 1 header block + 2 footer blocks
|
||||
}
|
||||
|
||||
public function testSaveWithCompressionAuto()
|
||||
|
Loading…
x
Reference in New Issue
Block a user