summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2017-03-10 09:02:42 +0000
committerVincent Sanders <vince@kyllikki.org>2017-03-10 09:02:42 +0000
commitb307fa431148728256ebb3be925089460d9fab07 (patch)
treecd0283e27b6cfcd5c354aa51b32387ed7bcacf26 /test
parent01d7392a6acd6d077df52e2eaebd80576690cb36 (diff)
downloadnetsurf-b307fa431148728256ebb3be925089460d9fab07.tar.gz
netsurf-b307fa431148728256ebb3be925089460d9fab07.tar.bz2
nsurl tests were not exercising unicode
Diffstat (limited to 'test')
-rw-r--r--test/nsurl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/nsurl.c b/test/nsurl.c
index 04c52345f..5b56a42e8 100644
--- a/test/nsurl.c
+++ b/test/nsurl.c
@@ -115,6 +115,9 @@ static const struct test_pairs create_tests[] = {
{ "ftp://a/b", "ftp://a/b" },
{ "FTP://a/b", "ftp://a/b" },
+ /* punycode */
+ { "http://a.कॉम/a", "http://a.xn--11b4c3d/a" },
+ { "https://smog.大众汽车/test", "https://smog.xn--3oq18vl8pn36a/test"},
};
/**