Test GetShowErrorMessages in testcmdlineparser.cpp
This commit is contained in:
parent
8e84f30244
commit
05af4f82ce
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue