1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 11:55:40 +01:00

Add function documentation to certs_test.go

This commit is contained in:
JanHoefelmeyer 2023-09-25 11:20:58 +02:00
parent 17945d67ac
commit 3de42e746d

View file

@ -2,6 +2,9 @@ package certs
import "testing" import "testing"
// TestLoadCertificates tests if LoadCertificate correctly loads
// valid certificates and throws an error at invalid certificates,
// keys or passphrases
func TestLoadCertificates(t *testing.T) { func TestLoadCertificates(t *testing.T) {
testCert := "data/testclient.crt" testCert := "data/testclient.crt"
testKey := "data/testclientkey.pem" testKey := "data/testclientkey.pem"