[tracker] tests: Fix tracker-encoding-test when libicu charset detection is used
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] tests: Fix tracker-encoding-test when libicu charset detection is used
- Date: Mon, 21 Nov 2016 19:02:54 +0000 (UTC)
commit cbc5b2a170e747f75cdd29432f058900730fd4bd
Author: Sam Thursfield <sam afuera me uk>
Date: Sun Oct 30 19:18:26 2016 +0000
tests: Fix tracker-encoding-test when libicu charset detection is used
I'm not sure this test is actually useful for anything, maybe we should
just delete it...
tests/libtracker-extract/tracker-encoding-test.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/libtracker-extract/tracker-encoding-test.c
b/tests/libtracker-extract/tracker-encoding-test.c
index 148aedb..f6089ba 100644
--- a/tests/libtracker-extract/tracker-encoding-test.c
+++ b/tests/libtracker-extract/tracker-encoding-test.c
@@ -53,7 +53,7 @@ static void
test_encoding_can_guess (void)
{
/* This just duplicates the function code... */
-#if defined (HAVE_ENCA) || defined (HAVE_MEEGOTOUCH)
+#if defined (HAVE_ENCA) || defined (HAVE_MEEGOTOUCH) || defined (HAVE_LIBICU_CHARSET_DETECTION)
g_assert (tracker_encoding_can_guess ());
#else
g_assert (!tracker_encoding_can_guess ());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]