Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
komuw committed Jun 18, 2024
1 parent b769bdd commit dcab6ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func TestNewMiddlewareOpts(t *testing.T) {
assert: func(o middlewareOpts) { attest.Equal(t, o.CorsCacheDuration, 0) },
},
{
name: "less than zero duration",
name: "less than zero cache duration",
opt: func() middlewareOpts {
opt := validOpts(t)
opt.middlewareOpts.CorsCacheDuration = 100 * time.Millisecond
Expand All @@ -114,7 +114,7 @@ func TestNewMiddlewareOpts(t *testing.T) {
assert: func(o middlewareOpts) { attest.Equal(t, o.CorsCacheDuration, DefaultCorsCacheDuration) },
},
{
name: "greater than zero duration",
name: "greater than zero cache duration",
opt: func() middlewareOpts {
opt := validOpts(t)
opt.middlewareOpts.CorsCacheDuration = 372 * time.Hour
Expand Down

0 comments on commit dcab6ac

Please sign in to comment.