mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-03-08 15:21:13 +02:00
Fix linter error
This commit is contained in:
parent
7049ffcf54
commit
8e5282a415
@ -374,7 +374,7 @@ func (s *ProcessingHandlerTestSuite) TestCacheControlPassthroughExpires() {
|
||||
res := rw.Result()
|
||||
|
||||
// Use regex to allow some delay
|
||||
s.Require().Regexp(regexp.MustCompile("max-age=123[0-9], public"), res.Header.Get("Cache-Control"))
|
||||
s.Require().Regexp("max-age=123[0-9], public", res.Header.Get("Cache-Control"))
|
||||
s.Require().Empty(res.Header.Get("Expires"))
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user