Skip to content

Commit

Permalink
Squiz/ControlSignature: rename test case file to allow for adding more
Browse files Browse the repository at this point in the history
  • Loading branch information
biinari committed Jul 14, 2024
1 parent 3d55d71 commit 6284297
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ public function getErrorList($testFile='')
112 => 1,
];

if ($testFile === 'ControlSignatureUnitTest.inc') {
switch ($testFile) {
case 'ControlSignatureUnitTest.1.inc':
$errors[122] = 1;
$errors[130] = 2;
$errors[134] = 1;
Expand Down Expand Up @@ -84,9 +85,14 @@ public function getErrorList($testFile='')
$errors[306] = 3;
$errors[309] = 1;
$errors[315] = 1;
}//end if
return $errors;

return $errors;
case 'ControlSignatureUnitTest.js':
return $errors;

default:
return [];
}//end switch

}//end getErrorList()

Expand Down

0 comments on commit 6284297

Please sign in to comment.