[pim/kdepim-addons] plugins/messageviewerplugins/externalscriptplugin/autotests: Fix test for external script plugin arguments

Volker Krause <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 28f0ea8df152984aa68e804e104c9b654dfb1ccd by Volker Krause.
Committed on 15/08/2026 at 05:53.
Pushed by vkrause into branch 'master'.

Fix test for external script plugin arguments

M  +1    -1    plugins/messageviewerplugins/externalscriptplugin/autotests/viewerpluginexternalscriptparseargumenttest.cpp

https://invent.kde.org/pim/kdepim-addons/-/commit/28f0ea8df152984aa68e804e104c9b654dfb1ccd

diff --git a/plugins/messageviewerplugins/externalscriptplugin/autotests/viewerpluginexternalscriptparseargumenttest.cpp b/plugins/messageviewerplugins/externalscriptplugin/autotests/viewerpluginexternalscriptparseargumenttest.cpp
index 96b569f08..8a59cc9f2 100644
--- a/plugins/messageviewerplugins/externalscriptplugin/autotests/viewerpluginexternalscriptparseargumenttest.cpp
+++ b/plugins/messageviewerplugins/externalscriptplugin/autotests/viewerpluginexternalscriptparseargumenttest.cpp
@@ -83,7 +83,7 @@ void ViewerPluginExternalScriptParseArgumentTest::shouldReturnBody()
     initializeMessage(message);
     parser.setMessage(message);
     const QStringList lst = {QStringLiteral("%body")};
-    const QStringList result = {QStringLiteral("\"Hello this is a test mail\n\"")};
+    const QStringList result = {QStringLiteral("\"Hello this is a test mail \"")};
     QCOMPARE(parser.parse(lst), result);
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.