From 4a583c7b7ea6046202a4cb7c0437241c8f597356 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?louiz=E2=80=99?= Date: Thu, 23 Aug 2018 18:53:47 +0200 Subject: =?UTF-8?q?Trivial=20move=20of=20a=20variable=20in=20a=20smaller?= =?UTF-8?q?=20=E2=80=9Cifndef=E2=80=9D=20scope?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/jid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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 -- cgit v1.2.3