From 6d493724ce3b4e567264d5eee2e969eff547bf48 Mon Sep 17 00:00:00 2001 From: fzerorubigd Date: Sun, 3 Feb 2019 23:15:54 +0100 Subject: [PATCH] fix linting problems --- commands.go | 2 +- server_redigo_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands.go b/commands.go index 6cc9c9f..8d75968 100644 --- a/commands.go +++ b/commands.go @@ -97,7 +97,7 @@ func (s *Server) ExpectLPush(result int, key string, values ...string) *Command return s.expectLRPush("lpush", result, key, values...) } -// ExpectLPush is helper for lpush command +// ExpectRPush is helper for lpush command func (s *Server) ExpectRPush(result int, key string, values ...string) *Command { return s.expectLRPush("rpush", result, key, values...) } diff --git a/server_redigo_test.go b/server_redigo_test.go index 711321f..ac03d23 100644 --- a/server_redigo_test.go +++ b/server_redigo_test.go @@ -198,6 +198,6 @@ func TestRedigoBLPop(t *testing.T) { require.Equal(t, "KEY1", ret[0]) require.Equal(t, "RESULT", ret[1]) - ret, err = redis.Strings(red.Do("brpop", "KEY1", "0")) + _, err = redis.Strings(red.Do("brpop", "KEY1", "0")) require.Error(t, err) }