Skip to content

Commit

Permalink
Disable RuboCop false positive
Browse files Browse the repository at this point in the history
  • Loading branch information
mattbrictson committed Jan 12, 2025
1 parent df971c7 commit 07880f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/functional/backends/test_netssh.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down

0 comments on commit 07880f9

Please sign in to comment.