mirror of
https://github.com/dcarrillo/whatismyip.git
synced 2025-07-01 19:49:27 +00:00
Use gin-gonic/contrib/secure instead of deprecated module
This commit is contained in:
@ -165,6 +165,7 @@ func TestClientPort(t *testing.T) {
|
||||
assert.Equal(t, 200, w.Code)
|
||||
assert.Equal(t, contentType.text, w.Header().Get("Content-Type"))
|
||||
assert.Equal(t, tt.expected, w.Body.String())
|
||||
t.Log(w.Header())
|
||||
})
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user