1
0
mirror of https://github.com/redis/go-redis.git synced 2025-04-17 20:17:02 +03:00

Cleanup tests

This commit is contained in:
Vladimir Mihailenco 2017-05-24 15:53:41 +03:00
parent 8403178174
commit 368f0ea0ba

View File

@ -114,13 +114,12 @@ var _ = Describe("Commands", func() {
Expect(get.Err()).NotTo(HaveOccurred())
Expect(get.Val()).To(Equal("theclientname"))
})
It("should ConfigGet", func() {
r := client.ConfigGet("*")
Expect(r.Err()).NotTo(HaveOccurred())
Expect(r.Val()).NotTo(BeEmpty())
val, err := client.ConfigGet("*").Result()
Expect(err).NotTo(HaveOccurred())
Expect(val).NotTo(BeEmpty())
})
It("should ConfigResetStat", func() {