mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 05:40:11 +01:00
Add function documentation to certs_test.go
This commit is contained in:
parent
17945d67ac
commit
3de42e746d
1 changed files with 3 additions and 0 deletions
|
|
@ -2,6 +2,9 @@ package certs
|
|||
|
||||
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) {
|
||||
testCert := "data/testclient.crt"
|
||||
testKey := "data/testclientkey.pem"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue