Skip to content

Commit 3305904

Browse files
committed
update README.md
Signed-off-by: Xiaolong Chen <[email protected]>
1 parent d71b18e commit 3305904

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -432,14 +432,9 @@ res, err := rdb.Do(ctx, "set", "key", "value").Result()
432432
433433
## Run the test
434434
435-
Start a Redis server, then run:
435+
Recommended to use Docker, just need to run:
436436
```shell
437-
go test <your options>
438-
```
439-
440-
If the Redis server isn't running on port 6379, make sure to set the REDIS_PORT environment variable. For example, the test below runs against a Redis instance on port 9999.:
441-
```shell
442-
REDIS_PORT=9999 go test <your options>
437+
make test
443438
```
444439
445440
## See also

0 commit comments

Comments
 (0)