1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-28 06:42:00 +03:00

Rename SlowLog to SlowLogGet

This commit is contained in:
Vladimir Mihailenco
2020-09-09 17:42:05 +03:00
parent 457cdea58f
commit 690d9a94f3
5 changed files with 5 additions and 18 deletions

View File

@ -4014,7 +4014,7 @@ var _ = Describe("Commands", func() {
})
})
Describe("SlowLog", func() {
Describe("SlowLogGet", func() {
It("returns slow query result", func() {
const key = "slowlog-log-slower-than"
@ -4027,7 +4027,7 @@ var _ = Describe("Commands", func() {
client.Set(ctx, "test", "true", 0)
result, err := client.SlowLog(ctx, -1).Result()
result, err := client.SlowLogGet(ctx, -1).Result()
Expect(err).NotTo(HaveOccurred())
Expect(len(result)).NotTo(BeZero())
})