summaryrefslogtreecommitdiff
path: root/tests/xmpp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/xmpp.cpp')
-rw-r--r--tests/xmpp.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/xmpp.cpp b/tests/xmpp.cpp
index b6b50ed..6aab8c4 100644
--- a/tests/xmpp.cpp
+++ b/tests/xmpp.cpp
@@ -40,9 +40,8 @@ TEST_CASE("Test basic XML parsing")
xml.feed(doc2.data(), doc.size(), true);
}
-TEST_CASE("XML escape/unescape")
+TEST_CASE("XML escape")
{
const std::string unescaped = "'coucou'<cc>/&\"gaga\"";
CHECK(xml_escape(unescaped) == "&apos;coucou&apos;&lt;cc&gt;/&amp;&quot;gaga&quot;");
- CHECK(xml_unescape(xml_escape(unescaped)) == unescaped);
}