From b68f5ededb9a3198c2e0a622c4e2c43a0aca97bc Mon Sep 17 00:00:00 2001 From: Shulhan Date: Sat, 4 Apr 2026 02:33:58 +0700 Subject: 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 --- lib/paseto/v4/public_mode_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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`, -- cgit v1.3