diff --git a/lib/tests/test-mu-store-query.cc b/lib/tests/test-mu-store-query.cc index 57a6a716..5f282863 100644 --- a/lib/tests/test-mu-store-query.cc +++ b/lib/tests/test-mu-store-query.cc @@ -16,7 +16,7 @@ ** Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. ** */ - +#include "config.h" #include "utils/mu-result.hh" #include @@ -148,6 +148,9 @@ I said: "Aujourd'hui!" "to:sqlite-dev@sqlite.org", "list:sqlite-dev.sqlite.org", "aujourd'hui", +#ifdef HAVE_CLD2 + "lang:en", +#endif /*HAVE_CLD2*/ }) { if (g_test_verbose()) diff --git a/mu/tests/test-mu-query.cc b/mu/tests/test-mu-query.cc index 23f13d41..09c0cdeb 100644 --- a/mu/tests/test-mu-query.cc +++ b/mu/tests/test-mu-query.cc @@ -135,6 +135,9 @@ test_mu_query_01(void) { "", 19 }, {"msgid:abcd$efgh@example.com", 1}, {"i:abcd$efgh@example.com", 1}, +#ifdef HAVE_CLD2 +{ "lang:en", 14}, +#endif /*HAVE_CLD2*/ }; for (i = 0; i != G_N_ELEMENTS(queries); ++i)