mirror of
https://github.com/zeromicro/go-zero.git
synced 2026-05-14 02:10:00 +08:00
chore: improve codecov (#2828)
This commit is contained in:
@@ -1776,7 +1776,10 @@ func runOnRedis(t *testing.T, fn func(client *Redis)) {
|
||||
}
|
||||
}()
|
||||
|
||||
fn(New(s.Addr()))
|
||||
fn(MustNewRedis(RedisConf{
|
||||
Host: s.Addr(),
|
||||
Type: NodeType,
|
||||
}))
|
||||
}
|
||||
|
||||
func runOnRedisWithError(t *testing.T, fn func(client *Redis)) {
|
||||
|
||||
Reference in New Issue
Block a user