From 05ecb916e39b7a99634f650204f797e1bda9998a Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 4 Aug 2021 20:35:18 -0400 Subject: tests: Avoid bidi in test output When rendering the text char-by-char, use directional controls to avoid any bidi reordering. --- tests/test-break.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test-break.c b/tests/test-break.c index 66c207a5..d59971a0 100644 --- a/tests/test-break.c +++ b/tests/test-break.c @@ -219,7 +219,9 @@ test_file (const gchar *filename, GString *string) !(g_unichar_type (ch) == G_UNICODE_LINE_SEPARATOR || g_unichar_type (ch) == G_UNICODE_PARAGRAPH_SEPARATOR)) { + g_string_append_unichar (string, 0x2066); // LRI g_string_append_unichar (string, ch); + g_string_append_unichar (string, 0x2069); // PDI g_string_append (s1, " "); g_string_append (s2, " "); g_string_append (s3, " "); -- cgit v1.2.1