diff --git a/commands_test.go b/commands_test.go index 3a0240dd..7e5d4010 100644 --- a/commands_test.go +++ b/commands_test.go @@ -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() {