Skip to content

Commit

Permalink
fix linting problems
Browse files Browse the repository at this point in the history
  • Loading branch information
fzerorubigd committed Feb 3, 2019
1 parent 6a4ffbf commit 6d49372
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion commands.go
Expand Up @@ -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...)
}
Expand Down
2 changes: 1 addition & 1 deletion server_redigo_test.go
Expand Up @@ -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)
}

0 comments on commit 6d49372

Please sign in to comment.