This commit is contained in:
Tadgh 2023-12-12 14:05:24 -08:00
parent 45d1f2c9e2
commit 8c52bc6716
1 changed files with 2 additions and 1 deletions

View File

@ -73,7 +73,8 @@ public final class HapiErrorCodeCheck extends AbstractCheck {
} else {
String location = getFilePath() + ":" + instantiation.getLineNo() + ":"
+ instantiation.getColumnNo() + "(" + code + ")";
//Ignore errors thrown in test for duplicates, as some fake implementations are throwing the same codes for test purpsoes.
// Ignore errors thrown in test for duplicates, as some fake implementations are throwing the same
// codes for test purpsoes.
if (!location.contains("/test/")) {
ourCache.put(code, location);
}