summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorFlorian Wininger <fw.centrale@gmail.com>2022-04-20 22:36:31 +0200
committerFlorian Wininger <fw.centrale@gmail.com>2022-04-29 14:42:49 +0200
commitb58014618c09968095655ebbd278e94fd81def73 (patch)
tree4a2f1e95f1ce35ce86dde32e268c2edae2cc06ea /Rakefile
parent8929562bec741086984abea71bd03c490f09ad70 (diff)
downloadnet-ssh-b58014618c09968095655ebbd278e94fd81def73.tar.gz
fix rubocop issues
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Rakefile b/Rakefile
index 5f5925d..18eeca9 100644
--- a/Rakefile
+++ b/Rakefile
@@ -97,9 +97,7 @@ end
# We need to enable the OpenSSL 3.0 legacy providers for our test suite
require 'openssl'
-if OpenSSL::OPENSSL_LIBRARY_VERSION.start_with? "OpenSSL 3" then
- ENV['OPENSSL_CONF'] = 'test/openssl3.conf'
-end
+ENV['OPENSSL_CONF'] = 'test/openssl3.conf' if OpenSSL::OPENSSL_LIBRARY_VERSION.start_with? "OpenSSL 3"
desc "Run tests of Net::SSH:Test"
Rake::TestTask.new do |t|