Skip to content

Commit 71c0b85

Browse files
committed
Silence warnings.
1 parent 75bd64a commit 71c0b85

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
@@ -181,7 +181,7 @@ def test_sentinel_role_mismatch
181181
end
182182
end
183183

184-
assert_match /Instance role mismatch/, ex.message
184+
assert_match(/Instance role mismatch/, ex.message)
185185
end
186186

187187
def test_sentinel_retries
@@ -236,6 +236,6 @@ def test_sentinel_retries
236236
end
237237
end
238238

239-
assert_match /No sentinels available/, ex.message
239+
assert_match(/No sentinels available/, ex.message)
240240
end
241241
end

0 commit comments

Comments
 (0)