Skip to content

Commit f2a604e

Browse files
committed
Fix argument order for assert_equal.
1 parent fe31b6d commit f2a604e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/sentinel_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ def test_sentinel_with_auth
144144
end
145145
end
146146

147-
assert_equal commands[:s1], [%w[get-master-addr-by-name master1]]
148-
assert_equal commands[:m1], [%w[auth foo], %w[role]]
147+
assert_equal [%w[get-master-addr-by-name master1]], commands[:s1]
148+
assert_equal [%w[auth foo], %w[role]], commands[:m1]
149149
end
150150

151151
def test_sentinel_role_mismatch

0 commit comments

Comments
 (0)