# HG changeset patch # User Kim Alvefur # Date 1702152109 -3600 # Node ID 626ab0af83af942d0da824a3926b55ca5e418275 # Parent 786c7707f3064c43eccb647bc9e4c3c8f0ae40c4 util.http: Silence strict luacheck warning in tests diff -r 786c7707f306 -r 626ab0af83af spec/util_http_spec.lua --- 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);