diff options
Diffstat (limited to 'core/dnsserver/server_https_test.go')
-rw-r--r-- | core/dnsserver/server_https_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/dnsserver/server_https_test.go b/core/dnsserver/server_https_test.go index 6663c1075..0099681f7 100644 --- a/core/dnsserver/server_https_test.go +++ b/core/dnsserver/server_https_test.go @@ -61,6 +61,7 @@ func TestCustomHTTPRequestValidator(t *testing.T) { if res.StatusCode != tc.expected { t.Error("unexpected HTTP code", res.StatusCode) } + res.Body.Close() }) } } |