From 2ed5008463d434e943247a357a2f66ac8fa8a17a Mon Sep 17 00:00:00 2001 From: Christian A. Weber Date: Thu, 7 Dec 2017 17:20:51 +0100 Subject: if no key => value params are supplied, don't kill query params without value such as foo or foo= --- tests/U_tests.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests') 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" }, { -- cgit v1.2.3