summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2020-07-10 02:13:50 +0200
committerBenjamin Otte <otte@redhat.com>2020-07-16 20:43:11 +0200
commit58e85c85e4fcddc04064e5aa22e2fc6d2f69f717 (patch)
tree747b2e589d0b4152f15f8ef42b8c6328efdcfdb0 /testsuite
parentc36cbd51407d80798cbff1c963324637825c43cf (diff)
downloadgtk+-58e85c85e4fcddc04064e5aa22e2fc6d2f69f717.tar.gz
testsuite: Add a case with escaped Latin-1 code
This came up in recent g_uri_escape() discussions.
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/css/data.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/css/data.c b/testsuite/css/data.c
index 2f623df128..72533fcfb2 100644
--- a/testsuite/css/data.c
+++ b/testsuite/css/data.c
@@ -52,6 +52,9 @@ Test tests[] = {
{ "charset",
"data:text/plain;charset=ISO-8859-1,Timm B\344der",
"text/plain", CONTENTS("Timm Bäder") },
+ { "charset_escaped",
+ "data:text/plain;charset=ISO-8859-1,Timm%20B%E4der",
+ "text/plain", CONTENTS("Timm Bäder") },
{ "charset_base64",
"data:text/plain;charset=ISO-8859-5;base64,wOPh29DdILjW0ePb0OLe0g==",
"text/plain", CONTENTS("Руслан Ижбулатов") },