We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab22333 commit 5818bc3Copy full SHA for 5818bc3
1 file changed
test/testcmdlineparser.cpp
@@ -2223,8 +2223,9 @@ class TestCmdlineParser : public TestFixture {
2223
ASSERT_EQUALS_ENUM(CmdLineParser::Result::Exit, parseFromArgs(argv));
2224
ASSERT_EQUALS(1, settings->settingsFiles.size());
2225
ASSERT_EQUALS(file.path(), *settings->settingsFiles.cbegin());
2226
+ const std::string errout_s = GET_REDIRECT_OUTPUT;
2227
ASSERT_EQUALS("", logger->str()); // empty since it is logged via ErrorLogger
- ASSERT(startsWith(GET_REDIRECT_OUTPUT, ErrorMessage::getXMLHeader("The Product")));
2228
+ ASSERT(startsWith(errout_s, ErrorMessage::getXMLHeader("The Product")));
2229
}
2230
2231
void errorlistExclusive() {
0 commit comments