mirror of
https://github.com/bjc/prosody.git
synced 2025-04-01 20:27:39 +03:00
spec: Suppress some harmless luacheck warnings in tests
This commit is contained in:
parent
99748c5655
commit
4767b89822
2 changed files with 3 additions and 0 deletions
|
@ -4,6 +4,8 @@ local hex = require "util.hex";
|
|||
|
||||
-- Also see spec for util.hmac where HMAC test cases reside
|
||||
|
||||
--luacheck: ignore 631
|
||||
|
||||
describe("PBKDF2-HMAC-SHA1", function ()
|
||||
it("test vector 1", function ()
|
||||
local P = "password"
|
||||
|
|
|
@ -157,6 +157,7 @@ describe("util.paseto", function ()
|
|||
local key = paseto.v3_local.new_key();
|
||||
local sign, verify = paseto.v3_local.init(key);
|
||||
|
||||
--luacheck: ignore 211/sign2
|
||||
local key2 = paseto.v3_local.new_key();
|
||||
local sign2, verify2 = paseto.v3_local.init(key2);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue