1 package x509 2 3 import ( 4 "testing" 5 ) 6 7 func TestTemplateIDs(t *testing.T) { 8 for id, template := range idToError { 9 if template.ID != id { 10 t.Errorf("idToError[%v].id=%v; want %v", id, template.ID, id) 11 } 12 } 13 } 14
View as plain text