diff options
author | Matthew Wild <mwild1@gmail.com> | 2023-01-13 14:53:40 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2023-01-13 14:53:40 +0000 |
commit | 4767b898221cc807a7e75c52976bc78bec53e6c5 (patch) | |
tree | f0e3ace420b830fb24a9681d794e9fcc1298a3b3 | |
parent | 99748c56551fa06f1f8e3e14c29d8e474724301f (diff) | |
download | prosody-4767b898221cc807a7e75c52976bc78bec53e6c5.tar.gz prosody-4767b898221cc807a7e75c52976bc78bec53e6c5.zip |
spec: Suppress some harmless luacheck warnings in tests
-rw-r--r-- | spec/util_hashes_spec.lua | 2 | ||||
-rw-r--r-- | spec/util_paseto_spec.lua | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/spec/util_hashes_spec.lua b/spec/util_hashes_spec.lua index f9f1633e..c4b1841e 100644 --- a/spec/util_hashes_spec.lua +++ b/spec/util_hashes_spec.lua @@ -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" diff --git a/spec/util_paseto_spec.lua b/spec/util_paseto_spec.lua index 8cad8c72..417278b1 100644 --- a/spec/util_paseto_spec.lua +++ b/spec/util_paseto_spec.lua @@ -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); |