Skip to content

Commit 1598fd1

Browse files
committed
test: format issued-at validator cases
1 parent 214d0d3 commit 1598fd1

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

validator_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ func Test_Validator_verifyIssuedAt(t *testing.T) {
239239
type fields struct {
240240
leeway time.Duration
241241
timeFunc func() time.Time
242-
verifyIat bool
242+
verifyIat bool
243243
requireIat bool
244244
}
245245
type args struct {
@@ -279,9 +279,9 @@ func Test_Validator_verifyIssuedAt(t *testing.T) {
279279
for _, tt := range tests {
280280
t.Run(tt.name, func(t *testing.T) {
281281
v := &Validator{
282-
leeway: tt.fields.leeway,
283-
timeFunc: tt.fields.timeFunc,
284-
verifyIat: tt.fields.verifyIat,
282+
leeway: tt.fields.leeway,
283+
timeFunc: tt.fields.timeFunc,
284+
verifyIat: tt.fields.verifyIat,
285285
requireIat: tt.fields.requireIat,
286286
}
287287
if err := v.verifyIssuedAt(tt.args.claims, tt.args.cmp, tt.args.required); (err != nil) && !errors.Is(err, tt.wantErr) {

0 commit comments

Comments
 (0)