hanayo/vendor/github.com/certifi/gocertifi/certifi_test.go

11 lines
195 B
Go
Raw Normal View History

2019-02-23 13:29:15 +00:00
package gocertifi
import "testing"
func TestGetCerts(t *testing.T) {
cert_pool, err := CACerts()
if (cert_pool == nil) || (err != nil) {
t.Errorf("Failed to return the certificates.")
}
}