(t *testing.T)
| 38 | } |
| 39 | |
| 40 | func 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 | |
| 47 | func TestReuse(t *testing.T) { |
| 48 | a, b := Pool(), Pool() |