Software /
code /
prosody
Changeset
13401:626ab0af83af
util.http: Silence strict luacheck warning in tests
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 09 Dec 2023 21:01:49 +0100 |
parents | 13400:786c7707f306 |
children | 13402:6877786d73d7 |
files | spec/util_http_spec.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/spec/util_http_spec.lua Sat Dec 09 20:55:26 2023 +0100 +++ b/spec/util_http_spec.lua Sat Dec 09 21:01:49 2023 +0100 @@ -41,6 +41,7 @@ end); it("should encode special characters with escaping", function() + -- luacheck: ignore 631 assert.are.equal(http.formencode({ { name = "one two", value = "1"}, { name = "two one&", value = "2" } }), "one+two=1&two+one%26=2", "Form encoded"); end); end);