Generalize cache get with expire param
This commit is contained in:
12
datasources/mtr/bus/busschedule_test.go
Normal file
12
datasources/mtr/bus/busschedule_test.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package bus
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestGetSchedule(t *testing.T) {
|
||||
_, err := getSchedule( "en", "K66" )
|
||||
if err != nil {
|
||||
t.Error( err )
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user