Software /
code /
prosody
Changeset
12841:8b06d7c73090
spec: Suppress some harmless luacheck warnings in tests
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 13 Jan 2023 14:53:40 +0000 |
parents | 12840:33d902b093f0 |
children | 12843:e609e10966f5 |
files | spec/util_hashes_spec.lua spec/util_paseto_spec.lua |
diffstat | 2 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/spec/util_hashes_spec.lua Fri Jan 13 14:38:05 2023 +0000 +++ b/spec/util_hashes_spec.lua Fri Jan 13 14:53:40 2023 +0000 @@ -4,6 +4,8 @@ -- 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"
--- a/spec/util_paseto_spec.lua Fri Jan 13 14:38:05 2023 +0000 +++ b/spec/util_paseto_spec.lua Fri Jan 13 14:53:40 2023 +0000 @@ -157,6 +157,7 @@ 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);