testcppcheck: check that Cppcheck::getErrorMessages output is not empty
This commit is contained in:
parent
f50971a65a
commit
61aa86f201
|
@ -74,6 +74,7 @@ private:
|
|||
ErrorLogger2 errorLogger;
|
||||
CppCheck cppCheck(errorLogger);
|
||||
cppCheck.getErrorMessages();
|
||||
ASSERT(!errorLogger.id.empty());
|
||||
|
||||
// TODO: check if there are duplicate error ids in errorLogger.id
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue