mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55:16 +00:00
fix: fix Test_parseStructAndInject test
This commit is contained in:
parent
b1ba5386b3
commit
099d860c5a
|
@ -61,7 +61,7 @@ func Test_parseStructAndInject(t *testing.T) {
|
|||
type TT struct {
|
||||
*service.TradeService
|
||||
}
|
||||
ss := &TT{}
|
||||
ss := TT{}
|
||||
err := parseStructAndInject(&ss, &service.TradeService{})
|
||||
assert.NoError(t, err)
|
||||
assert.NotNil(t, ss.TradeService)
|
||||
|
|
Loading…
Reference in New Issue
Block a user