Include types from gonavitia/navitia

This commit is contained in:
nemunaire 2023-07-14 12:23:33 +02:00
commit 24b1102761
157 changed files with 26062 additions and 116 deletions

11
types/id_test.go Normal file
View file

@ -0,0 +1,11 @@
package types
import "testing"
// TestIDCheck checks if ID.Check returns an error when given an empty ID
func TestIDCheck(t *testing.T) {
id := ID("")
if id.Check() == nil {
t.Errorf("Received no error even though we expect one")
}
}