jwt
jwt copied to clipboard
chore: remove unused claims in table driven test - part2
Followup PR: https://github.com/golang-jwt/jwt/pull/212
Noticed that claims
are not used in various table-driven tests around the project. With this PR we clean them up. Sorry for not noticing in https://github.com/golang-jwt/jwt/pull/212.
Wouldn't it make more sense to actually check the claims instead of removing them?
Wouldn't it make more sense to actually check the claims instead of removing them?
Hello @oxisto, thank you for your comment.
Initially, I was thinking the same but I wasn't sure if the lack of claims checking was intentional e.g. because they are covered in another unit test.