File: errors_test.go

package info (click to toggle)
golang-github-google-certificate-transparency 1.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 4,764 kB
  • sloc: sh: 606; makefile: 103; sql: 16
file content (13 lines) | stat: -rw-r--r-- 212 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
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)
		}
	}
}