fix lint errors

Signed-off-by: Ryan Richard <richardry@vmware.com>
This commit is contained in:
Ryan Richard
2026-07-06 11:08:16 -07:00
parent 434a6be821
commit 85c548bca2
3 changed files with 6 additions and 4 deletions
@@ -1544,7 +1544,6 @@ func TestImpersonationProxy(t *testing.T) { //nolint:gocyclo // yeah, it's compl
require.Empty(t, stderr)
expectedCiphers := testlib.GetExpectedCiphers(ptls.Default(nil), testlib.DefaultCipherSuitePreference())
require.Contains(t, stdout, expectedCiphers, "wantedToContain:\n%s\nactual stdout:\n%s", expectedCiphers, stdout)
})
})
+4 -1
View File
@@ -53,8 +53,11 @@ func TestFIPSCipherSuites_Parallel(t *testing.T) {
// tls config of the client without explicitly set ciphers
// is the same as the tls config of the test server with explicitly
// set ciphers from ptls.
request, _ := http.NewRequest("GET", server.URL, nil)
request, _ := http.NewRequestWithContext(t.Context(), "GET", server.URL, nil)
response, err := transport.RoundTrip(request)
t.Cleanup(func() {
require.NoError(t, response.Body.Close())
})
require.NoError(t, err)
require.Equal(t, http.StatusOK, response.StatusCode)
}