spec: Suppress some harmless luacheck warnings in tests

This commit is contained in:
Matthew Wild 2023-01-13 14:53:40 +00:00
parent 99748c5655
commit 4767b89822
2 changed files with 3 additions and 0 deletions

View file

@ -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"

View file

@ -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);