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