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:
@ -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"))
|
||||
|
||||
|
Reference in New Issue
Block a user