From 07880f9fe77d3fb2b2ae71c52e26f484ce5cafac Mon Sep 17 00:00:00 2001 From: Matt Brictson Date: Sun, 12 Jan 2025 15:06:26 -0800 Subject: [PATCH] Disable RuboCop false positive --- test/functional/backends/test_netssh.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/functional/backends/test_netssh.rb b/test/functional/backends/test_netssh.rb index ee7000ad..58901336 100644 --- a/test/functional/backends/test_netssh.rb +++ b/test/functional/backends/test_netssh.rb @@ -131,7 +131,7 @@ def test_execute_raises_on_non_zero_exit_status_and_captures_stdout_and_stderr def test_test_does_not_raise_on_non_zero_exit_status Netssh.new(a_host) do |_host| - test :false + test :false # rubocop:disable Lint/BooleanSymbol end.run end @@ -151,7 +151,7 @@ def test_connection_pool_keepalive # ensure we enable connection pool SSHKit::Backend::Netssh.pool.idle_timeout = 10 Netssh.new(a_host) do |_host| - test :false + test :false # rubocop:disable Lint/BooleanSymbol end.run sleep 2.5 captured_command_result = nil