Fix lang
This commit is contained in:
parent
fe2a0e0340
commit
edb61faf25
@ -230,6 +230,10 @@ class LangTest extends PHPUnit\Framework\TestCase
|
||||
$result=preg_match('/%n/m', $filecontent); // A sequence of char we don't want
|
||||
//print __METHOD__." Result for checking we don't have bad percent char = ".$result."\n";
|
||||
$this->assertTrue($result == 0, 'Found a sequence %n into the translation file '.$code.'/'.$file.'. We probably want %s');
|
||||
|
||||
$result=preg_match('/<<<<</m', $filecontent); // A sequence of char we don't want
|
||||
//print __METHOD__." Result for checking we don't have bad percent char = ".$result."\n";
|
||||
$this->assertTrue($result == 0, 'Found a sequence <<<<< into the translation file '.$code.'/'.$file.'. Probably a bad merge of code were done.');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user