Laurent Destailleur 2 年之前
父节点
当前提交
01abfe538f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test/phpunit/CodingSqlTest.php

+ 1 - 1
test/phpunit/CodingSqlTest.php

@@ -196,7 +196,7 @@ class CodingSqlTest extends PHPUnit\Framework\TestCase
 					$result=(! strpos($filecontent, '["') && ! strpos($filecontent, '{"') && ! strpos($filecontent, '("'));
 				}
 				//print __METHOD__." Result for checking we don't have double quote = ".$result."\n";
-				$this->assertTrue($result===false, 'Found double quote that is not [" neither {" (used for json content) into '.$file.'. Bad.');
+				$this->assertTrue($result===false, 'Found double quote that is not [" neither {" (used for json content) neither (" (used for content with string like isModEnabled("")) into '.$file.'. Bad.');
 
 				$result=strpos($filecontent, 'int(');
 				//print __METHOD__." Result for checking we don't have 'int(' instead of 'integer' = ".$result."\n";