Adding initial dot which matches the format for the return of the filepath.Ext() funciton.

This commit is contained in:
Renan DelValle 2020-02-25 12:48:57 -08:00
parent c77381ff1f
commit cebff8e1d2
No known key found for this signature in database
GPG key ID: C240AD6D6F443EC9
2 changed files with 2 additions and 2 deletions

View file

@ -102,7 +102,7 @@ func TestCurrentBatchCalculator(t *testing.T) {
}
func TestCertPoolCreator(t *testing.T) {
extensions := map[string]struct{}{"key": {}, "pem": {}, "crt": {}}
extensions := map[string]struct{}{".pem": {}}
_, err := createCertPool("examples/certs", extensions)
assert.NoError(t, err)