Clean code

This commit is contained in:
Laurent Destailleur
2019-10-16 14:02:13 +02:00
parent 9663205601
commit b9ec45fd49
3 changed files with 54 additions and 54 deletions

View File

@@ -413,11 +413,11 @@ class FilesLibTest extends PHPUnit\Framework\TestCase
$result=dol_compress_file($filein, $fileout, $format, $errorstring);
print __METHOD__." result=".$result."\n";
$this->assertGreaterThanOrEqual(1, $result, "Pb with dol_compress_file on ".$filein." : ".$errorstring);
$this->assertGreaterThanOrEqual(1, $result, "Pb with dol_compress_file on ".$filein." into ".$fileout." : ".$errorstring);
$result=dol_uncompress($fileout, $dirout);
print __METHOD__." result=".join(',', $result)."\n";
$this->assertEquals(0, count($result), "Pb with dol_uncompress_file");
$this->assertEquals(0, count($result), "Pb with dol_uncompress_file of file ".$fileout);
}
/**