mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-09-30 14:06:48 +02:00
Fix linter error
This commit is contained in:
@@ -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"))
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user