Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
supercaracal committed Dec 28, 2024
1 parent ee5d467 commit 8f24872
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/redis_client/test_cluster_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
class RedisClient
class TestClusterConfig < TestingWrapper
def test_inspect
want = '#<RedisClient::ClusterConfig [{:host=>"127.0.0.1", :port=>6379}]>'
cfg = { host: '127.0.0.1', port: 6379 }
want = "#<RedisClient::ClusterConfig [#{cfg}]>"
got = ::RedisClient::ClusterConfig.new.inspect
assert_equal(want, got)
end
Expand Down

0 comments on commit 8f24872

Please sign in to comment.