diff options
author | Nathan Gass | 2017-11-28 18:08:41 +0100 |
---|---|---|
committer | Nathan Gass | 2017-11-28 18:08:41 +0100 |
commit | 502cc703e64b1b4ab42e758488c565c32bf7cfd3 (patch) | |
tree | c8ec88a35dbabb73c1ddcd1d8a6f41e4d37ad012 /tests | |
parent | 208273360cc39c13870a73c82205a01d1c3b8a1a (diff) | |
download | itools-502cc703e64b1b4ab42e758488c565c32bf7cfd3.tar.gz itools-502cc703e64b1b4ab42e758488c565c32bf7cfd3.tar.bz2 itools-502cc703e64b1b4ab42e758488c565c32bf7cfd3.zip |
add todo test for removing parameters from base
Diffstat (limited to 'tests')
-rw-r--r-- | tests/U_tests.json | 6 |
1 files changed, 6 insertions, 0 deletions
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 @@ -54,6 +54,12 @@ }, { + "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": "<Zürich>", "gnöp": "fasel"}}}], "exp": "/foo.html?bar[gna]=42&bar[qux][quux]=%3CZ%C3%BCrich%3E&bar[qux][gn%C3%B6p]=fasel", "name": "U() with nested arrays" |