[gtk+] tests: Don't use unicode escapes



commit 33e690a9ad4febbf8ad61c7fdf25a2dc36bb9629
Author: Benjamin Otte <otte redhat com>
Date:   Tue Jan 8 12:24:32 2013 +0100

    tests: Don't use unicode escapes
    
    Otherwise gcc complains that GTK isn't C99.

 gtk/tests/textiter.c |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/gtk/tests/textiter.c b/gtk/tests/textiter.c
index db26363..bee33de 100644
--- a/gtk/tests/textiter.c
+++ b/gtk/tests/textiter.c
@@ -200,59 +200,59 @@ test_search_caseless (void)
   check_found_forward ("This is some Foo foo text", "foo", flags, 13, 16, "Foo");
   check_found_forward ("This is some \303\200 \303\240 text", "\303\240", flags, 13, 14, "\303\200");
   check_found_forward ("This is some \303\200 \303\240 text", "\303\200", flags, 13, 14, "\303\200");
-  check_found_forward ("This is some \303\200 \303\240 text", "a\u0300", flags, 13, 14, "\303\200");
+  check_found_forward ("This is some \303\200 \303\240 text", "a\314\200", flags, 13, 14, "\303\200");
   check_found_backward ("This is some foo foo text", "foo", flags, 17, 20, "foo");
   check_found_backward ("This is some foo foo text", "Foo", flags, 17, 20, "foo");
   check_found_backward ("This is some foo Foo text", "foo", flags, 17, 20, "Foo");
   check_found_backward ("This is some \303\200 \303\240 text", "\303\240", flags, 15, 16, "\303\240");
   check_found_backward ("This is some \303\200 \303\240 text", "\303\200", flags, 15, 16, "\303\240");
-  check_found_backward ("This is some \303\200 \303\240 text", "a\u0300", flags, 15, 16, "\303\240");
+  check_found_backward ("This is some \303\200 \303\240 text", "a\314\200", flags, 15, 16, "\303\240");
 
   /* new lines in the haystack */
   check_found_forward ("This is some\nfoo text", "foo", flags, 13, 16, "foo");
   check_found_forward ("This is some\nfoo text", "Foo", flags, 13, 16, "foo");
   check_found_forward ("This is some\nFoo text", "foo", flags, 13, 16, "Foo");
   check_found_forward ("This is some\n\303\200 text", "\303\240", flags, 13, 14, "\303\200");
-  check_found_forward ("This is some\n\303\200 text", "a\u0300", flags, 13, 14, "\303\200");
+  check_found_forward ("This is some\n\303\200 text", "a\314\200", flags, 13, 14, "\303\200");
   check_found_backward ("This is some\nfoo text", "foo", flags, 13, 16, "foo");
   check_found_backward ("This is some\nfoo text", "Foo", flags, 13, 16, "foo");
   check_found_backward ("This is some\nFoo text", "foo", flags, 13, 16, "Foo");
   check_found_backward ("This is some\n\303\200 text", "\303\240", flags, 13, 14, "\303\200");
-  check_found_backward ("This is some\n\303\200 text", "a\u0300", flags, 13, 14, "\303\200");
+  check_found_backward ("This is some\n\303\200 text", "a\314\200", flags, 13, 14, "\303\200");
   check_found_forward ("This is some foo\nfoo text", "foo", flags, 13, 16, "foo");
   check_found_forward ("This is some foo\nfoo text", "Foo", flags, 13, 16, "foo");
   check_found_forward ("This is some Foo\nfoo text", "foo", flags, 13, 16, "Foo");
   check_found_forward ("This is some \303\200\n\303\200 text", "\303\240", flags, 13, 14, "\303\200");
-  check_found_forward ("This is some \303\200\n\303\200 text", "a\u0300", flags, 13, 14, "\303\200");
+  check_found_forward ("This is some \303\200\n\303\200 text", "a\314\200", flags, 13, 14, "\303\200");
   check_found_backward ("This is some foo\nfoo text", "foo", flags, 17, 20, "foo");
   check_found_backward ("This is some foo\nfoo text", "Foo", flags, 17, 20, "foo");
   check_found_backward ("This is some foo\nFoo text", "foo", flags, 17, 20, "Foo");
   check_found_backward ("This is some \303\200\n\303\200 text", "\303\240", flags, 15, 16, "\303\200");
-  check_found_backward ("This is some \303\200\n\303\200 text", "a\u0300", flags, 15, 16, "\303\200");
+  check_found_backward ("This is some \303\200\n\303\200 text", "a\314\200", flags, 15, 16, "\303\200");
 
   /* end of buffer */
   check_found_forward ("This is some\ntext foo", "foo", flags, 18, 21, "foo");
   check_found_forward ("This is some\ntext foo", "Foo", flags, 18, 21, "foo");
   check_found_forward ("This is some\ntext Foo", "foo", flags, 18, 21, "Foo");
   check_found_forward ("This is some\ntext \303\200", "\303\240", flags, 18, 19, "\303\200");
-  check_found_forward ("This is some\ntext \303\200", "a\u0300", flags, 18, 19, "\303\200");
+  check_found_forward ("This is some\ntext \303\200", "a\314\200", flags, 18, 19, "\303\200");
   check_found_backward ("This is some\ntext foo", "foo", flags, 18, 21, "foo");
   check_found_backward ("This is some\ntext foo", "Foo", flags, 18, 21, "foo");
   check_found_backward ("This is some\ntext Foo", "foo", flags, 18, 21, "Foo");
   check_found_backward ("This is some\ntext \303\200", "\303\240", flags, 18, 19, "\303\200");
-  check_found_backward ("This is some\ntext \303\200", "a\u0300", flags, 18, 19, "\303\200");
+  check_found_backward ("This is some\ntext \303\200", "a\314\200", flags, 18, 19, "\303\200");
 
   /* multiple lines in the needle */
   check_found_forward ("This is some foo\nfoo text", "foo\nfoo", flags, 13, 20, "foo\nfoo");
   check_found_forward ("This is some foo\nfoo text", "Foo\nFoo", flags, 13, 20, "foo\nfoo");
   check_found_forward ("This is some Foo\nFoo text", "foo\nfoo", flags, 13, 20, "Foo\nFoo");
   check_found_forward ("This is some \303\200\n\303\200 text", "\303\240\n\303\240", flags, 13, 16, "\303\200\n\303\200");
-  check_found_forward ("This is some \303\200\n\303\200 text", "a\u0300\na\u0300", flags, 13, 16, "\303\200\n\303\200");
+  check_found_forward ("This is some \303\200\n\303\200 text", "a\314\200\na\314\200", flags, 13, 16, "\303\200\n\303\200");
   check_found_backward ("This is some foo\nfoo text", "foo\nfoo", flags, 13, 20, "foo\nfoo");
   check_found_backward ("This is some foo\nfoo text", "Foo\nFoo", flags, 13, 20, "foo\nfoo");
   check_found_backward ("This is some Foo\nFoo text", "foo\nfoo", flags, 13, 20, "Foo\nFoo");
   check_found_backward ("This is some \303\200\n\303\200 text", "\303\240\n\303\240", flags, 13, 16, "\303\200\n\303\200");
-  check_found_backward ("This is some \303\200\n\303\200 text", "a\u0300\na\u0300", flags, 13, 16, "\303\200\n\303\200");
+  check_found_backward ("This is some \303\200\n\303\200 text", "a\314\200\na\314\200", flags, 13, 16, "\303\200\n\303\200");
 }
 
 int



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]