Skip to content

Commit 20d8dae

Browse files
authored
Fix gofmt alignment in jwt_expiry_test.go (#3954)
## Summary Fix struct field alignment in `TestExtractJWTExpiry_WrongPartCount` test table to satisfy `gofmt`. `make agent-finished` formats code with `gofmt` and this file had misaligned struct tags that were caught during the format step. ## Changes - `internal/oidc/jwt_expiry_test.go`: Corrected struct field alignment (whitespace-only change)
2 parents 57fc2cf + b4d11e0 commit 20d8dae

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

internal/oidc/jwt_expiry_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,9 @@ func TestExtractJWTExpiry_MissingExpClaim(t *testing.T) {
122122
// other than 3 (separated by ".") are rejected with a descriptive error.
123123
func TestExtractJWTExpiry_WrongPartCount(t *testing.T) {
124124
tests := []struct {
125-
name string
126-
token string
127-
wantParts int
125+
name string
126+
token string
127+
wantParts int
128128
}{
129129
{"one part", "headeronly", 1},
130130
{"two parts", "header.payload", 2},

0 commit comments

Comments
 (0)