From 51a2bc5f60c2476748f97dcf5c5b1097620b68ba Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Thu, 23 Jul 2026 21:09:35 +0300 Subject: [PATCH] cld2: unit-test fix Fix inverted HAVE_CLD2 test --- lib/utils/mu-lang-detector.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/mu-lang-detector.cc b/lib/utils/mu-lang-detector.cc index 1fa25a60..c580d96e 100644 --- a/lib/utils/mu-lang-detector.cc +++ b/lib/utils/mu-lang-detector.cc @@ -76,7 +76,7 @@ test_lang_detector() for (auto&& test: tests) { const auto res = detect_language(std::get<0>(test)); -#if HAVE_CLD2 +#if !HAVE_CLD2 g_assert_false(!!res); #else g_assert_true(!!res);