chore: add more tests (#2792)

* chore: add more tests

* chore: add more tests

* chore: add more tests

* chore: add more tests
This commit is contained in:
Kevin Wan
2023-01-15 00:16:12 +08:00
committed by GitHub
parent 2e57e91826
commit 02265d0bfe
4 changed files with 99 additions and 18 deletions

View File

@@ -40,6 +40,16 @@ func TestRedisConf(t *testing.T) {
},
ok: true,
},
{
name: "ok",
RedisConf: RedisConf{
Host: "localhost:6379",
Type: ClusterType,
Pass: "pwd",
Tls: true,
},
ok: true,
},
}
for _, test := range tests {