mirror of
https://github.com/injoyai/tdx.git
synced 2025-11-26 21:25:35 +08:00
修改测试用例的错误
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
func Test_stockKline_Frame(t *testing.T) {
|
||||
//预期0c02000000001c001c002d050000303030303031 0900 0100 0000 0a00 00000000000000000000
|
||||
// 0c00000000011c001c002d050000313030303030 0900 0000 0000 0a00 00000000000000000000
|
||||
f, _ := MStockKline.Frame(TypeKlineDay, &StockKlineReq{
|
||||
f, _ := MKline.Frame(TypeKlineDay, KlineReq{
|
||||
Exchange: ExchangeSH,
|
||||
Code: "000001",
|
||||
Start: 0,
|
||||
@@ -24,7 +24,7 @@ func Test_stockKline_Decode(t *testing.T) {
|
||||
t.Error(err)
|
||||
return
|
||||
}
|
||||
resp, err := MStockKline.Decode(bs, 9)
|
||||
resp, err := MKline.Decode(bs, 9)
|
||||
if err != nil {
|
||||
t.Error(err)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user