Skip to content

Commit 07880f9

Browse files
committed
Disable RuboCop false positive
1 parent df971c7 commit 07880f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/functional/backends/test_netssh.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def test_execute_raises_on_non_zero_exit_status_and_captures_stdout_and_stderr
131131

132132
def test_test_does_not_raise_on_non_zero_exit_status
133133
Netssh.new(a_host) do |_host|
134-
test :false
134+
test :false # rubocop:disable Lint/BooleanSymbol
135135
end.run
136136
end
137137

@@ -151,7 +151,7 @@ def test_connection_pool_keepalive
151151
# ensure we enable connection pool
152152
SSHKit::Backend::Netssh.pool.idle_timeout = 10
153153
Netssh.new(a_host) do |_host|
154-
test :false
154+
test :false # rubocop:disable Lint/BooleanSymbol
155155
end.run
156156
sleep 2.5
157157
captured_command_result = nil

0 commit comments

Comments
 (0)