From cb52bbd408b1c1094f063861c02e69ccf3f7db38 Mon Sep 17 00:00:00 2001 From: Nathan Gass Date: Thu, 30 Nov 2017 17:14:42 +0100 Subject: add test for multiple spaces --- tests/U_tests.json | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests') diff --git a/tests/U_tests.json b/tests/U_tests.json index 81ceb15..5614cbb 100644 --- a/tests/U_tests.json +++ b/tests/U_tests.json @@ -107,6 +107,12 @@ "name": "U() dots and spaces in arg names are preserved" }, + { + "args": ["/foo.html?bar=a+b+c", {"foo": "d e f"}], + "exp": "/foo.html?bar=a+b+c&foo=d+e+f", + "name": "U() handles multiple spaces in parameter values" + }, + { "args": ["/foo.html?bar=qux#frag=frog", {"baz": "gna"}], "exp": "/foo.html?bar=qux&baz=gna#frag=frog", -- cgit v1.2.3