[glib/wip/sadiq/fixes: 589/589] tests: Add more markup escape cases



commit 358140092f78e3e4e662c22942ad4c0cec4df7d6
Author: Mohammed Sadiq <sadiq sadiqpk org>
Date:   Wed Oct 3 08:25:39 2018 +0530

    tests: Add more markup escape cases

 glib/tests/markup-escape.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/glib/tests/markup-escape.c b/glib/tests/markup-escape.c
index b2de289c2..3f33e49c5 100644
--- a/glib/tests/markup-escape.c
+++ b/glib/tests/markup-escape.c
@@ -30,7 +30,10 @@ static EscapeTest escape_tests[] =
   { "A&&A", "A&amp;&amp;A" },
   { "A&A&A", "A&amp;A&amp;A" },
   { "A&#23;A", "A&amp;#23;A" },
-  { "A&#xa;A", "A&amp;#xa;A" }
+  { "A&#xa;A", "A&amp;#xa;A" },
+  { "N\xc2\x80N", "N&#x80;N" },
+  { "N\xc2\x79N", "N\xc2\x79N" },
+  { "N\xc2\x9fN", "N&#x9f;N" },
 };
 
 static void


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