local-server/vendor/github.com/google/certificate-transparency-go/x509/errors_test.go

14 lines
212 B
Go
Raw Normal View History

2018-06-17 07:32:44 +00:00
package x509
import (
"testing"
)
func TestTemplateIDs(t *testing.T) {
for id, template := range idToError {
if template.ID != id {
t.Errorf("idToError[%v].id=%v; want %v", id, template.ID, id)
}
}
}