fix sonar problems about regular expression

This commit is contained in:
LinXiaoYi
2021-06-26 00:35:34 +08:00
parent fea7c914cc
commit 1252b520ae
15 changed files with 56 additions and 56 deletions

View File

@@ -102,7 +102,7 @@ func TestRedisCache(t *testing.T) {
assert.Nil(t, bm.ClearAll(context.Background()))
}
func TestCache_Scan(t *testing.T) {
func TestCacheScan(t *testing.T) {
timeoutDuration := 10 * time.Second
addr := os.Getenv("REDIS_ADDR")