Cleanup tests

This commit is contained in:
Vladimir Mihailenco 2017-05-24 15:53:41 +03:00
parent 8403178174
commit 368f0ea0ba
1 changed files with 3 additions and 4 deletions

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() {