summaryrefslogtreecommitdiff
path: root/tests/U_tests.json
diff options
context:
space:
mode:
authorChristian A. Weber2017-12-07 17:20:51 +0100
committerChristian A. Weber2017-12-07 17:20:51 +0100
commit2ed5008463d434e943247a357a2f66ac8fa8a17a (patch)
tree8801b32925772e8894794b66a40ec16c49f50680 /tests/U_tests.json
parent6c9029219c6611e5f2c7739fe67931ef2d1408f5 (diff)
downloaditools-2ed5008463d434e943247a357a2f66ac8fa8a17a.tar.gz
itools-2ed5008463d434e943247a357a2f66ac8fa8a17a.tar.bz2
itools-2ed5008463d434e943247a357a2f66ac8fa8a17a.zip
if no key => value params are supplied, don't kill query params without value such as foo or foo=
Diffstat (limited to 'tests/U_tests.json')
-rw-r--r--tests/U_tests.json10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/U_tests.json b/tests/U_tests.json
index 5614cbb..a8ad63d 100644
--- a/tests/U_tests.json
+++ b/tests/U_tests.json
@@ -43,14 +43,14 @@
{
"args": ["/foo.html?bar="],
- "exp": "/foo.html",
- "name": "U() empty parameter in base removed (1)"
+ "exp": "/foo.html?bar=",
+ "name": "U() empty parameter with = in base must stay"
},
{
- "args": ["/foo.html?bar"],
- "exp": "/foo.html",
- "name": "U() empty parameter in base removed (2)"
+ "args": ["/foo.html?foo=bar&qux"],
+ "exp": "/foo.html?foo=bar&qux",
+ "name": "U() empty parameter in base without = must stay"
},
{