mirror of
https://github.com/bjc/prosody.git
synced 2025-04-01 20:27:39 +03:00
util.http: Silence strict luacheck warning in tests
This commit is contained in:
parent
a67e816055
commit
9dd7726419
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue