MCPcopy
hub / github.com/gofiber/fiber / TestClientSetRootCertificateFromStringError

Function TestClientSetRootCertificateFromStringError

client/client_test.go:199–206  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

197}
198
199func TestClientSetRootCertificateFromStringError(t *testing.T) {
200 t.Parallel()
201
202 client := New()
203 require.Panics(t, func() {
204 client.SetRootCertificateFromString("invalid pem data")
205 })
206}
207
208func TestClientLoggerAccessors(t *testing.T) {
209 t.Parallel()

Callers

nothing calls this directly

Calls 2

NewFunction · 0.70

Tested by

no test coverage detected