diff options
-rw-r--r-- | tests/U_tests.json | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/tests/U_tests.json b/tests/U_tests.json index c599b5a..d340492 100644 --- a/tests/U_tests.json +++ b/tests/U_tests.json @@ -54,9 +54,21 @@ }, { - "args": ["/foo.html?bar=gna&foo=g", {"bar": null}], + "args": ["/foo.html?bar=gna&foo=g", {"bar": ""}], + "exp": "/foo.html?foo=g", + "name": "U() remove parameter in base by overwriting with empty string" + }, + + { + "args": ["/foo.html?bar=gna&foo=g", {"bar": false}], "exp": "/foo.html?foo=g", - "name": "TODO: U() remove parameter in base by overwriting with null" + "name": "U() remove parameter in base by overwriting with false" + }, + + { + "args": ["/foo.html?bar=gna&foo=g", {"bar": null}], + "exp": "/foo.html?bar=gna&foo=g", + "name": "U() keep parameter in base instead of overwriting with null" }, { |