summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/xmpp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/xmpp.cpp b/tests/xmpp.cpp
index 42b7c08..7ea03a9 100644
--- a/tests/xmpp.cpp
+++ b/tests/xmpp.cpp
@@ -43,7 +43,7 @@ TEST_CASE("Test basic XML parsing")
TEST_CASE("XML escape")
{
- const std::string unescaped = "'coucou'<cc>/&\"gaga\"";
+ const std::string unescaped = R"('coucou'<cc>/&"gaga")";
CHECK(xml_escape(unescaped) == "&apos;coucou&apos;&lt;cc&gt;/&amp;&quot;gaga&quot;");
}