mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-29 06:29:19 +02:00
core/ci: update linting
This commit is contained in:
parent
b9c56074aa
commit
5f9d8cd1d9
29 changed files with 131 additions and 217 deletions
|
@ -527,7 +527,7 @@ func TestPomeriumJWT(t *testing.T) {
|
|||
// format of the iat and exp timestamps.
|
||||
// (https://github.com/pomerium/pomerium/issues/4149)
|
||||
p := rawJWTPayload(t, headerJWT)
|
||||
var digitsOnly = regexp.MustCompile(`^\d+$`)
|
||||
digitsOnly := regexp.MustCompile(`^\d+$`)
|
||||
assert.Regexp(t, digitsOnly, p["iat"])
|
||||
assert.Regexp(t, digitsOnly, p["exp"])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue