summaryrefslogtreecommitdiff
path: root/tests/jid.cpp
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2018-09-03 22:26:57 +0200
committerlouiz’ <louiz@louiz.org>2018-09-03 22:26:57 +0200
commit193302b0de20df6adc090eaeaa84cfd286be724a (patch)
treeb9e0e0f75b5cd74911a42a7fcd0f1477971391ff /tests/jid.cpp
parent56651cb5c29cc50ddf3c62c37167fa0b9389bfde (diff)
parent28acbed948e1c281f9de6132164e42d0ed20c32f (diff)
downloadbiboumi-193302b0de20df6adc090eaeaa84cfd286be724a.tar.gz
biboumi-193302b0de20df6adc090eaeaa84cfd286be724a.tar.bz2
biboumi-193302b0de20df6adc090eaeaa84cfd286be724a.tar.xz
biboumi-193302b0de20df6adc090eaeaa84cfd286be724a.zip
Merge branch 'master' into debian
Diffstat (limited to 'tests/jid.cpp')
-rw-r--r--tests/jid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/jid.cpp b/tests/jid.cpp
index 480827b..592d6f3 100644
--- a/tests/jid.cpp
+++ b/tests/jid.cpp
@@ -21,8 +21,8 @@ TEST_CASE("jidprep")
{
// Jidprep
const std::string badjid("~zigougou™@EpiK-7D9D1FDE.poez.io/Boujour/coucou/slt™");
- const std::string correctjid = jidprep(badjid);
#ifdef LIBIDN_FOUND
+ const std::string correctjid = jidprep(badjid);
CHECK(correctjid == "~zigougoutm@epik-7d9d1fde.poez.io/Boujour/coucou/sltTM");
// Check that the cache does not break things when we prep the same string
// multiple times