MCPcopy Index your code
hub / github.com/cortesi/devd / TestGetTLSConfig

Function TestGetTLSConfig

server_test.go:86–95  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

84}
85
86func TestGetTLSConfig(t *testing.T) {
87 _, err := getTLSConfig("nonexistent")
88 if err == nil {
89 t.Error("Expected failure, found success.")
90 }
91 _, err = getTLSConfig("./testdata/certbundle.pem")
92 if err != nil {
93 t.Errorf("Could not get TLS config: %s", err)
94 }
95}
96
97var credentialsTests = []struct {
98 spec string

Callers

nothing calls this directly

Calls 1

getTLSConfigFunction · 0.85

Tested by

no test coverage detected