Removed not used log

This commit is contained in:
Laurent Destailleur 2020-11-05 19:32:14 +01:00
parent 4535d81964
commit 61cceba7e2

View File

@ -191,9 +191,9 @@ class LangTest extends PHPUnit\Framework\TestCase
print 'Check lang file '.$file."\n";
$filecontent=file_get_contents(DOL_DOCUMENT_ROOT.'/langs/'.$code.'/'.$file);
$result=strpos($filecontent, '');
print __METHOD__." Result for checking we don't have bad percent char = ".$result."\n";
$this->assertTrue($result===false, 'Found a bad percent char instead of % into file '.$code.'/'.$file);
$result=strpos($filecontent, ''); // A special % char we don't want. We want the common one.
//print __METHOD__." Result for checking we don't have bad percent char = ".$result."\n";
$this->assertTrue($result === false, 'Found a bad percent char instead of % into file '.$code.'/'.$file);
}
}