[gtksourceview/wip/uchardet] tests: do not test small chunk conversion with uchardet.
- From: Jehan Pagès <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/uchardet] tests: do not test small chunk conversion with uchardet.
- Date: Sat, 28 Nov 2015 18:41:04 +0000 (UTC)
commit 11f9085effe20a02588f1900d73851852fb86303
Author: Jehan <jehan girinstud io>
Date: Sat Nov 28 19:25:06 2015 +0100
tests: do not test small chunk conversion with uchardet.
This fixes test_utf16_utf8().
tests/test-buffer-output-stream.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/tests/test-buffer-output-stream.c b/tests/test-buffer-output-stream.c
index ed78c67..707d6ff 100644
--- a/tests/test-buffer-output-stream.c
+++ b/tests/test-buffer-output-stream.c
@@ -396,9 +396,12 @@ test_utf16_utf8 (void)
g_assert_cmpstr (aux, ==, "\xe2\xb4\xb2");
g_free (aux);
+#ifndef WITH_UCHARDET
+ /* Small chunk test but not with uchardet */
aux = do_test (text, "UTF-16", NULL, aux_len, 1, NULL);
g_assert_cmpstr (aux, ==, "\xe2\xb4\xb2");
g_free (aux);
+#endif
}
gint
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]