Skip to content

Commit c921580

Browse files
committed
🔇 Fix ruby 2.7 keyword argument warning
There is _some_ value in testing that it works even without this change. But the main purpose of the test is simply testing the conversion from a hash parameter. Forcing the kwargs to be empty is fine. Other than backports, maybe, this is the last ruby 2.7 concession I'll be making before we raise the minimum ruby requirement. 😄
1 parent 156f86b commit c921580

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/net/imap/test_deprecated_client_options.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class InitializeTests < DeprecatedClientOptionsTest
2424

2525
test "Convert obsolete options hash to keywords" do
2626
run_fake_server_in_thread do |server|
27-
with_client(server.host, {port: server.port, ssl: false}) do |client|
27+
with_client(server.host, {port: server.port, ssl: false}, **{}) do |client|
2828
assert_equal server.host, client.host
2929
assert_equal server.port, client.port
3030
assert_equal false, client.ssl_ctx_params

0 commit comments

Comments
 (0)