summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/U_tests.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/U_tests.json b/tests/U_tests.json
index 591fdc9..e35ff9d 100644
--- a/tests/U_tests.json
+++ b/tests/U_tests.json
@@ -201,5 +201,11 @@
"args": ["app://settings"],
"exp": "app://settings",
"name": "U() do not add / for non-http url without path"
+ },
+
+ {
+ "args": ["/foo.html", {"<spam>": {"<spam>": "ham"}}],
+ "exp": "/foo.html?%3Cspam%3E%5B%3Cspam%3E%5D=ham",
+ "name": "U() urlencode keys of nested structures"
}
]