summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNathan Gass2017-11-30 17:14:42 +0100
committerNathan Gass2017-11-30 17:14:42 +0100
commitcb52bbd408b1c1094f063861c02e69ccf3f7db38 (patch)
tree8386803078462a17f4e28b490139ab2ea92e7b07 /tests
parent27ef35ff6664e9a7cb2a72bd73af716b50dd75fe (diff)
downloaditools-cb52bbd408b1c1094f063861c02e69ccf3f7db38.tar.gz
itools-cb52bbd408b1c1094f063861c02e69ccf3f7db38.tar.bz2
itools-cb52bbd408b1c1094f063861c02e69ccf3f7db38.zip
add test for multiple spaces
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 81ceb15..5614cbb 100644
--- a/tests/U_tests.json
+++ b/tests/U_tests.json
@@ -108,6 +108,12 @@
},
{
+ "args": ["/foo.html?bar=a+b+c", {"foo": "d e f"}],
+ "exp": "/foo.html?bar=a+b+c&foo=d+e+f",
+ "name": "U() handles multiple spaces in parameter values"
+ },
+
+ {
"args": ["/foo.html?bar=qux#frag=frog", {"baz": "gna"}],
"exp": "/foo.html?bar=qux&baz=gna#frag=frog",
"name": "U() fragment after params"