Commit e847084b authored by louiz’'s avatar louiz’

Improve the test on jidprep

parent 4b5d2d11
......@@ -171,9 +171,9 @@ int main()
assert(jid2.resource == "coucou@coucou/coucou");
// Jidprep
const std::string& badjid("");
const std::string& badjid("~zigougou™™");
const std::string correctjid = jidprep(badjid);
assert(correctjid == "");
assert(correctjid == "");
const std::string& badjid2("");
const std::string correctjid2 = jidprep(badjid2);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment