diff options
author | Vincent Sanders <vince@kyllikki.org> | 2017-03-10 09:02:42 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2017-03-10 09:02:42 +0000 |
commit | b307fa431148728256ebb3be925089460d9fab07 (patch) | |
tree | cd0283e27b6cfcd5c354aa51b32387ed7bcacf26 | |
parent | 01d7392a6acd6d077df52e2eaebd80576690cb36 (diff) | |
download | netsurf-b307fa431148728256ebb3be925089460d9fab07.tar.gz netsurf-b307fa431148728256ebb3be925089460d9fab07.tar.bz2 |
nsurl tests were not exercising unicode
-rw-r--r-- | test/nsurl.c | 3 |
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"}, }; /** |