summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2026-04-04 02:33:58 +0700
committerShulhan <ms@kilabit.info>2026-04-04 02:33:58 +0700
commitb68f5ededb9a3198c2e0a622c4e2c43a0aca97bc (patch)
tree7bad91fdef02ca4f651430397c9760527673cedb
parentfd54f7be5969204b6845c4aa7dd332d31c96c59f (diff)
downloadpakakeh.go-b68f5ededb9a3198c2e0a622c4e2c43a0aca97bc.tar.xz
paseto/v4: realign struct in test
This fix the following error detected by gocheck, public_mode_test.go:45:16: struct with 288 pointer bytes could be 264
-rw-r--r--lib/paseto/v4/public_mode_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/paseto/v4/public_mode_test.go b/lib/paseto/v4/public_mode_test.go
index 3e060e8a..c759eaa5 100644
--- a/lib/paseto/v4/public_mode_test.go
+++ b/lib/paseto/v4/public_mode_test.go
@@ -43,11 +43,11 @@ func TestPublicMode_Pack(t *testing.T) {
cryptotest.SetGlobalRandom(t, 1)
listcase := []struct {
- msg paseto.Message
desc string
expToken string
expRawPayload string
expRawFooter string
+ msg paseto.Message
}{{
desc: `Empty`,
expToken: `v4.public.e316aAoBcV59pCXGKmxwuKl050jOA9gP9F5qCFWllfEHUzzEWqRtZDK29vC07QoCJZEd-6T_65tybe4uJRuErwwE`,