diff options
author | Florent Le Coz <louiz@louiz.org> | 2014-04-21 22:59:16 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2014-04-21 22:59:16 +0200 |
commit | e847084b002b08f26533b13e0511eeaec36bdae8 (patch) | |
tree | bf636c370942e3085b416a1a9d19cffc33541811 /src/test.cpp | |
parent | 4b5d2d11c53628e9d65e907a179458a19192e45a (diff) | |
download | biboumi-e847084b002b08f26533b13e0511eeaec36bdae8.tar.gz biboumi-e847084b002b08f26533b13e0511eeaec36bdae8.tar.bz2 biboumi-e847084b002b08f26533b13e0511eeaec36bdae8.tar.xz biboumi-e847084b002b08f26533b13e0511eeaec36bdae8.zip |
Improve the test on jidprep
Diffstat (limited to 'src/test.cpp')
-rw-r--r-- | src/test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test.cpp b/src/test.cpp index d3d4f49..9cffc6d 100644 --- a/src/test.cpp +++ b/src/test.cpp @@ -171,9 +171,9 @@ int main() assert(jid2.resource == "coucou@coucou/coucou"); // Jidprep - const std::string& badjid("~zigougou@EpiK-7D9D1FDE.poez.io/Boujour/coucou/slt"); + const std::string& badjid("~zigougou™@EpiK-7D9D1FDE.poez.io/Boujour/coucou/slt™"); const std::string correctjid = jidprep(badjid); - assert(correctjid == "~zigougou@epik-7d9d1fde.poez.io/Boujour/coucou/slt"); + assert(correctjid == "~zigougoutm@epik-7d9d1fde.poez.io/Boujour/coucou/sltTM"); const std::string& badjid2("Zigougou@poez.io"); const std::string correctjid2 = jidprep(badjid2); |