summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-03-16 14:16:30 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-03-17 18:50:55 +0900
commit866831d8e9713cbf1b2bcc710a6da81f2b748855 (patch)
treec6eae594571ecf98741b1d6e1e054945b23369a6
parentab644ae497a649a2f2c65d35757a19dc38518d3d (diff)
[rubygems/rubygems] util/rubocop -A --only Style/Semicolon
https://github.com/rubygems/rubygems/commit/97f062be05
-rw-r--r--test/rubygems/test_gem_specification.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_specification.rb b/test/rubygems/test_gem_specification.rb
index 69c553f14b..28b4d5e72c 100644
--- a/test/rubygems/test_gem_specification.rb
+++ b/test/rubygems/test_gem_specification.rb
@@ -804,7 +804,10 @@ dependencies: []
end
full_path.taint
- loader = Thread.new { $SAFE = 1; Gem::Specification.load full_path }
+ loader = Thread.new do
+ $SAFE = 1
+ Gem::Specification.load full_path
+ end
spec = loader.value
@a2.files.clear