summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJehan <jehan@girinstud.io>2015-11-28 19:25:06 +0100
committerJehan <jehan@girinstud.io>2015-11-28 19:31:17 +0100
commit11f9085effe20a02588f1900d73851852fb86303 (patch)
treed37e77a4c832f344d6e4339670000f381da7b5bc
parenta2ae71d75fc679be71e6a2adeb2a70e3cae23615 (diff)
downloadgtksourceview-wip/uchardet.tar.gz
tests: do not test small chunk conversion with uchardet.wip/uchardet
This fixes test_utf16_utf8().
-rw-r--r--tests/test-buffer-output-stream.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test-buffer-output-stream.c b/tests/test-buffer-output-stream.c
index ed78c67b..707d6fff 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