Skip to content

Commit a32f1fb

Browse files
committed
refactor: refactor codebase for improved readability and maintainability
- Rename `WithConnectionString` to `WithAddr` in the `TestRedisDefaultFlow` function Signed-off-by: appleboy <[email protected]>
1 parent 3b648ac commit a32f1fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redis_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ func TestRedisDefaultFlow(t *testing.T) {
7171
Message: "foo",
7272
}
7373
w := NewWorker(
74-
WithConnectionString(endpoint),
74+
WithAddr(endpoint),
7575
WithChannel("test"),
7676
WithDebug(),
7777
)

0 commit comments

Comments
 (0)