We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee5d467 commit 8f24872Copy full SHA for 8f24872
test/redis_client/test_cluster_config.rb
@@ -6,7 +6,8 @@
6
class RedisClient
7
class TestClusterConfig < TestingWrapper
8
def test_inspect
9
- want = '#<RedisClient::ClusterConfig [{:host=>"127.0.0.1", :port=>6379}]>'
+ cfg = { host: '127.0.0.1', port: 6379 }
10
+ want = "#<RedisClient::ClusterConfig [#{cfg}]>"
11
got = ::RedisClient::ClusterConfig.new.inspect
12
assert_equal(want, got)
13
end
0 commit comments