[glib/wip/sadiq/fixes] tests: Add more markup escape cases
- From: Mohammed Sadiq <pksadiq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/sadiq/fixes] tests: Add more markup escape cases
- Date: Wed, 30 Jan 2019 10:05:46 +0000 (UTC)
commit 3437e82b6bfeab55a215e5cd683ca3cc2ad484d1
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 | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/glib/tests/markup-escape.c b/glib/tests/markup-escape.c
index b2de289c2..7ec4df926 100644
--- a/glib/tests/markup-escape.c
+++ b/glib/tests/markup-escape.c
@@ -20,6 +20,8 @@ static EscapeTest escape_tests[] =
{ ">", ">" },
{ "'", "'" },
{ "\"", """ },
+ { "\"\"", """" },
+ { "\"അ\"", ""അ"" },
{ "", "" },
{ "A", "A" },
{ "A&", "A&" },
@@ -30,7 +32,11 @@ static EscapeTest escape_tests[] =
{ "A&&A", "A&&A" },
{ "A&A&A", "A&A&A" },
{ "AA", "A&#23;A" },
- { "A
A", "A&#xa;A" }
+ { "A
A", "A&#xa;A" },
+ { "N\x2N", "NN" },
+ { "N\xc2\x80N", "N€N" },
+ { "N\xc2\x79N", "N\xc2\x79N" },
+ { "N\xc2\x9fN", "NŸN" },
};
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]