summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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