From 502cc703e64b1b4ab42e758488c565c32bf7cfd3 Mon Sep 17 00:00:00 2001 From: Nathan Gass Date: Tue, 28 Nov 2017 18:08:41 +0100 Subject: add todo test for removing parameters from base --- tests/U_tests.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/U_tests.json b/tests/U_tests.json index d9c26f1..c599b5a 100644 --- a/tests/U_tests.json +++ b/tests/U_tests.json @@ -53,6 +53,12 @@ "name": "U() empty parameter in base removed (2)" }, + { + "args": ["/foo.html?bar=gna&foo=g", {"bar": null}], + "exp": "/foo.html?foo=g", + "name": "TODO: U() remove parameter in base by overwriting with null" + }, + { "args": ["/foo.html", {"bar": {"gna": 42, "qux": {"quux": "", "gnöp": "fasel"}}}], "exp": "/foo.html?bar[gna]=42&bar[qux][quux]=%3CZ%C3%BCrich%3E&bar[qux][gn%C3%B6p]=fasel", -- cgit v1.2.3