Generalize cache get with expire param
This commit is contained in:
16
datasources/mtr/bus/query_test.go
Normal file
16
datasources/mtr/bus/query_test.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package bus
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestQuerySchedule(t *testing.T) {
|
||||
qo, err := parse( "K74 天瑞" )
|
||||
if err != nil {
|
||||
t.Error( err )
|
||||
}
|
||||
|
||||
fmt.Printf( "%+v", qo )
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user