From 05af4f82ce620f1246d47dd96d3f358966cee611 Mon Sep 17 00:00:00 2001 From: PKEuS Date: Tue, 3 Sep 2013 11:41:16 +0200 Subject: [PATCH] Test GetShowErrorMessages in testcmdlineparser.cpp --- test/testcmdlineparser.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/test/testcmdlineparser.cpp b/test/testcmdlineparser.cpp index 04c6f25a0..1cf4e4765 100644 --- a/test/testcmdlineparser.cpp +++ b/test/testcmdlineparser.cpp @@ -898,6 +898,7 @@ private: REDIRECT; const char *argv[] = {"cppcheck", "--errorlist"}; ASSERT(defParser.ParseFromArgs(2, argv)); + ASSERT(defParser.GetShowErrorMessages()); } void errorlistverbose1() {