14 lines
212 B
Go
14 lines
212 B
Go
|
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)
|
||
|
}
|
||
|
}
|
||
|
}
|