aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems/test_gem_security_trust_dir.rb
diff options
context:
space:
mode:
authorTakuya Noguchi <takninnovationresearch@gmail.com>2022-07-17 08:08:51 +0000
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2022-07-22 12:07:23 +0900
commitd7ffd3fea402239b16833cc434404a7af82d44f3 (patch)
tree9794942135111c36e6b6bce69e070ca556b89028 /test/rubygems/test_gem_security_trust_dir.rb
parent388c4e1076ac5a58d5008abc8e0a8d017698875a (diff)
downloadruby-d7ffd3fea402239b16833cc434404a7af82d44f3.tar.gz
RubyGems: Enable Style/StringLiterals cop
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
Diffstat (limited to 'test/rubygems/test_gem_security_trust_dir.rb')
-rw-r--r--test/rubygems/test_gem_security_trust_dir.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/rubygems/test_gem_security_trust_dir.rb b/test/rubygems/test_gem_security_trust_dir.rb
index fc88c84865..8c59286679 100644
--- a/test/rubygems/test_gem_security_trust_dir.rb
+++ b/test/rubygems/test_gem_security_trust_dir.rb
@@ -1,17 +1,17 @@
# frozen_string_literal: true
-require_relative 'helper'
+require_relative "helper"
unless Gem::HAVE_OPENSSL
- warn 'Skipping Gem::Security::TrustDir tests. openssl not found.'
+ warn "Skipping Gem::Security::TrustDir tests. openssl not found."
end
class TestGemSecurityTrustDir < Gem::TestCase
- CHILD_CERT = load_cert 'child'
+ CHILD_CERT = load_cert "child"
def setup
super
- @dest_dir = File.join @tempdir, 'trust'
+ @dest_dir = File.join @tempdir, "trust"
@trust_dir = Gem::Security::TrustDir.new @dest_dir
end