Skip to content

Commit

Permalink
chore: updated unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
johnabass committed Apr 23, 2024
1 parent 01698f8 commit c28c6c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xhttp/xhttpserver/tls_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ func testNewTlsConfigWithClientCACertificateFile(t *testing.T, certificateFile,
assert.Equal([]string{"http/1.1"}, tc.NextProtos)
assert.NotEmpty(tc.Certificates)
assert.NotNil(tc.ClientCAs)
assert.Equal(tls.RequireAndVerifyClientCert, tc.ClientAuth)
assert.Equal(tls.RequestClientCert, tc.ClientAuth)
}

func testNewTlsConfigLoadClientCACertificateError(t *testing.T, certificateFile, keyFile string) {
Expand Down

0 comments on commit c28c6c6

Please sign in to comment.