diff --git a/test/testcppcheck.cpp b/test/testcppcheck.cpp index 838b54e6f..582a6376d 100644 --- a/test/testcppcheck.cpp +++ b/test/testcppcheck.cpp @@ -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 }