mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-23 10:58:35 +08:00
[优化] 将部分在services中抛出异常使用error返回
This commit is contained in:
@@ -13,7 +13,7 @@ func TestNewRuleChainInstance(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Error(err)
|
||||
}
|
||||
instance, errs := NewRuleChainInstance(buf)
|
||||
instance, errs := NewRuleChainInstance("11", buf)
|
||||
if len(errs) > 0 {
|
||||
t.Error(errs[0])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user