1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-31 05:04:23 +03:00

Rename GetEX to GetEx to better distinguish from XX and NX suffixes

This commit is contained in:
Vladimir Mihailenco
2021-03-27 17:22:10 +02:00
parent 2be507f8e7
commit 1e30221353
2 changed files with 6 additions and 5 deletions

View File

@ -1092,7 +1092,7 @@ var _ = Describe("Commands", func() {
Expect(ttl.Err()).NotTo(HaveOccurred())
Expect(ttl.Val()).To(BeNumerically("~", 100*time.Second, 3*time.Second))
getEX := client.GetEX(ctx, "key", 200*time.Second)
getEX := client.GetEx(ctx, "key", 200*time.Second)
Expect(getEX.Err()).NotTo(HaveOccurred())
Expect(getEX.Val()).To(Equal("value"))