Skip to content

Commit

Permalink
Fix ruby-head unused block argument warning
Browse files Browse the repository at this point in the history
  • Loading branch information
byroot committed Apr 16, 2024
1 parent 98b8944 commit ed9ae98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/redis_client_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def call_pipelined(commands, *)

def test_redis_6_server_with_missing_hello_command
fake_redis6_driver = Class.new(RedisClient::RubyConnection) do
def call_pipelined(commands, *)
def call_pipelined(commands, *, &_)
if commands.any? { |c| c == ["HELLO", "3"] }
raise RedisClient::CommandError, "ERR unknown command 'HELLO'"
else
Expand Down

0 comments on commit ed9ae98

Please sign in to comment.