MCPcopy Create free account
hub / github.com/FiloSottile/intermediates / TestCount

Function TestCount

intermediates_test.go:40–45  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

38}
39
40func TestCount(t *testing.T) {
41 if gotCount := len(Pool().Subjects()); gotCount != expectedCount {
42 t.Logf("%s", Pool().Subjects())
43 t.Errorf("intermediates: parsed %d certificates, expected %d", gotCount, expectedCount)
44 }
45}
46
47func TestReuse(t *testing.T) {
48 a, b := Pool(), Pool()

Callers

nothing calls this directly

Calls 1

PoolFunction · 0.85

Tested by

no test coverage detected