+ [* unittest] fix coverage.

This commit is contained in:
liyang
2025-07-17 15:53:27 +08:00
parent eaf31234f5
commit ad32e688f2
+1 -1
View File
@@ -444,7 +444,7 @@ class coverage
if(!$moduleName)
{
preg_match('/extension\/[^\/]+\/([^\/]+)/', $filePath, $extMatches);
$moduleName = $extMatches[1];
$moduleName = empty($extMatches[1]) ? '' : $extMatches[1];
}
return $moduleName;