Include types from gonavitia/navitia
This commit is contained in:
parent
82769f923e
commit
24b1102761
157 changed files with 26062 additions and 116 deletions
11
types/id_test.go
Normal file
11
types/id_test.go
Normal 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")
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue