Skip to content

Commit

Permalink
fix golang-cilint warning
Browse files Browse the repository at this point in the history
Signed-off-by: Scott Windsor <[email protected]>
  • Loading branch information
sentientmonkey committed Sep 2, 2023
1 parent 6336fde commit a6182e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1301,7 +1301,7 @@ func TestCacheControlHeaders(t *testing.T) {

assert.Equal(t, testCase.expectedStatus, rr.Code)

cacheControl := rr.HeaderMap["Cache-Control"]
cacheControl := rr.Result().Header["Cache-Control"]
assert.Equal(t, testCase.expectedCacheControlHeaders, cacheControl)
})
}
Expand Down

0 comments on commit a6182e0

Please sign in to comment.