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.Err()).NotTo(HaveOccurred())
Expect(get.Val()).To(Equal("theclientname")) Expect(get.Val()).To(Equal("theclientname"))
}) })
It("should ConfigGet", func() { It("should ConfigGet", func() {
r := client.ConfigGet("*") val, err := client.ConfigGet("*").Result()
Expect(r.Err()).NotTo(HaveOccurred()) Expect(err).NotTo(HaveOccurred())
Expect(r.Val()).NotTo(BeEmpty()) Expect(val).NotTo(BeEmpty())
}) })
It("should ConfigResetStat", func() { It("should ConfigResetStat", func() {