diff options
author | Florent Le Coz <louiz@louiz.org> | 2016-02-10 20:22:51 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2016-02-10 20:23:27 +0100 |
commit | 218260362f0ccb4fd5b51765d4bd331389f39baa (patch) | |
tree | cb71bb36d298c9ad0d323bc807e03b22cf7d6ad7 /tests | |
parent | a13285d0ff360d0a83e007a776d9efbcfc347c76 (diff) | |
download | biboumi-218260362f0ccb4fd5b51765d4bd331389f39baa.tar.gz biboumi-218260362f0ccb4fd5b51765d4bd331389f39baa.tar.bz2 biboumi-218260362f0ccb4fd5b51765d4bd331389f39baa.tar.xz biboumi-218260362f0ccb4fd5b51765d4bd331389f39baa.zip |
Remove unused xml_unescape() function
Diffstat (limited to 'tests')
-rw-r--r-- | tests/xmpp.cpp | 3 |
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) == "'coucou'<cc>/&"gaga""); - CHECK(xml_unescape(xml_escape(unescaped)) == unescaped); } |