Skip to content

Commit 8f24872

Browse files
committed
fix
1 parent ee5d467 commit 8f24872

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/redis_client/test_cluster_config.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
class RedisClient
77
class TestClusterConfig < TestingWrapper
88
def test_inspect
9-
want = '#<RedisClient::ClusterConfig [{:host=>"127.0.0.1", :port=>6379}]>'
9+
cfg = { host: '127.0.0.1', port: 6379 }
10+
want = "#<RedisClient::ClusterConfig [#{cfg}]>"
1011
got = ::RedisClient::ClusterConfig.new.inspect
1112
assert_equal(want, got)
1213
end

0 commit comments

Comments
 (0)