aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-12-09 21:01:49 +0100
committerKim Alvefur <zash@zash.se>2023-12-09 21:01:49 +0100
commit9dd7726419ef7f86aaca3430c1c92e98a6075f3b (patch)
tree53fe81be6ca32a724733ba80d6d2eb16ac846d60
parenta67e816055931c6bef1c949fc4f3378c40f90d9f (diff)
downloadprosody-9dd7726419ef7f86aaca3430c1c92e98a6075f3b.tar.gz
prosody-9dd7726419ef7f86aaca3430c1c92e98a6075f3b.zip
util.http: Silence strict luacheck warning in tests
-rw-r--r--spec/util_http_spec.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/util_http_spec.lua b/spec/util_http_spec.lua
index 62679f0f..3e2f5a6a 100644
--- a/spec/util_http_spec.lua
+++ b/spec/util_http_spec.lua
@@ -41,6 +41,7 @@ describe("util.http", function()
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);