Skip to content

Commit

Permalink
修复单元测试依赖
Browse files Browse the repository at this point in the history
  • Loading branch information
trheyi committed Feb 9, 2022
1 parent 292b10f commit c062b54
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions importer/init_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"github.com/yaoapp/xiang/config"
"github.com/yaoapp/xiang/model"
"github.com/yaoapp/xiang/query"
"github.com/yaoapp/xiang/script"
"github.com/yaoapp/xiang/share"
)

Expand All @@ -15,6 +16,7 @@ func TestMain(m *testing.M) {
model.Load(config.Conf)
query.Load(config.Conf)
share.Load(config.Conf)
script.Load(config.Conf)
Load(config.Conf)
code := m.Run()
os.Exit(code)
Expand Down

0 comments on commit c062b54

Please sign in to comment.