Test GetShowErrorMessages in testcmdlineparser.cpp

This commit is contained in:
PKEuS 2013-09-03 11:41:16 +02:00
parent 8e84f30244
commit 05af4f82ce
1 changed files with 1 additions and 0 deletions

View File

@ -898,6 +898,7 @@ private:
REDIRECT; REDIRECT;
const char *argv[] = {"cppcheck", "--errorlist"}; const char *argv[] = {"cppcheck", "--errorlist"};
ASSERT(defParser.ParseFromArgs(2, argv)); ASSERT(defParser.ParseFromArgs(2, argv));
ASSERT(defParser.GetShowErrorMessages());
} }
void errorlistverbose1() { void errorlistverbose1() {