diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-03-16 12:57:49 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-03-17 18:50:55 +0900 |
commit | 5211900d37573a82c1bdf7cb2354937cc4022ae1 (patch) | |
tree | 4951c15df9b302437b4ff173fe30fb5e211bd1fb /test/rubygems/test_gem_resolver_api_set.rb | |
parent | b304cf324aed40977665ddcfcec7cc992feb949b (diff) | |
download | ruby-5211900d37573a82c1bdf7cb2354937cc4022ae1.tar.gz |
util/rubocop -A --only Style/SymbolProc
Diffstat (limited to 'test/rubygems/test_gem_resolver_api_set.rb')
-rw-r--r-- | test/rubygems/test_gem_resolver_api_set.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_resolver_api_set.rb b/test/rubygems/test_gem_resolver_api_set.rb index 7d3a5ee77d..a718d839fa 100644 --- a/test/rubygems/test_gem_resolver_api_set.rb +++ b/test/rubygems/test_gem_resolver_api_set.rb @@ -149,7 +149,7 @@ class TestGemResolverAPISet < Gem::TestCase set.prefetch [a_dep, b_dep] - assert_equal %w[a-1], set.find_all(a_dep).map {|s| s.full_name } + assert_equal %w[a-1], set.find_all(a_dep).map(&:full_name) assert_empty set.find_all(b_dep) end |