# HG changeset patch # User Kim Alvefur # Date 1582531828 -3600 # Node ID 4eee1aaa9405eda8535531d1e7d61aadb93befbc # Parent c4ded3be7cc01b3982e19de573ae1ae9440f7aed util.jwt: Remove unused return value from tests [luacheck] diff -r c4ded3be7cc0 -r 4eee1aaa9405 spec/util_jwt_spec.lua --- a/spec/util_jwt_spec.lua Mon Feb 24 01:24:25 2020 +0100 +++ b/spec/util_jwt_spec.lua Mon Feb 24 09:10:28 2020 +0100 @@ -13,7 +13,7 @@ local key = "secret"; local token = jwt.sign("wrong", { payload = "this" }); assert.string(token); - local ok, err = jwt.verify(key, token); + local ok = jwt.verify(key, token); assert.falsy(ok) end); end);