aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/outputparser_test.cpp
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2020-09-07 13:19:38 +0200
committerEike Ziller <eike.ziller@qt.io>2020-09-07 13:19:38 +0200
commitdf97d40a0d03d4073f45437e9ca60a8bbd70852b (patch)
tree4bbf9838a1c8a7567e2787861c7abc35cdbd24a3 /src/plugins/projectexplorer/outputparser_test.cpp
parentf1806621f8ac12b690b94a1e93274ff0c4d37bc8 (diff)
parentb0cad9e9c7aad209756fb2409520c0d048614dd9 (diff)
Merge remote-tracking branch 'origin/4.13' into master
Diffstat (limited to 'src/plugins/projectexplorer/outputparser_test.cpp')
-rw-r--r--src/plugins/projectexplorer/outputparser_test.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/projectexplorer/outputparser_test.cpp b/src/plugins/projectexplorer/outputparser_test.cpp
index d3a162d422..e599e30686 100644
--- a/src/plugins/projectexplorer/outputparser_test.cpp
+++ b/src/plugins/projectexplorer/outputparser_test.cpp
@@ -115,11 +115,10 @@ TestTerminator::TestTerminator(OutputParserTester *t) :
Utils::OutputLineParser::Result TestTerminator::handleLine(const QString &line, Utils::OutputFormat type)
{
- QTC_CHECK(line.endsWith('\n'));
if (type == Utils::StdOutFormat)
- m_tester->m_receivedStdOutChildLine.append(line);
+ m_tester->m_receivedStdOutChildLine.append(line + '\n');
else
- m_tester->m_receivedStdErrChildLine.append(line);
+ m_tester->m_receivedStdErrChildLine.append(line + '\n');
return Status::Done;
}