summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_util.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2020-06-10 19:46:05 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-06-15 21:20:37 +0900
commit955f1837a180d8936f90ab6cf039ccb8f751be72 (patch)
tree0d48749501febfccefda3b1376511c421d4118e4 /test/rubygems/test_gem_util.rb
parentef481c120c55bf0351a586739f9b5d704f3f7a7d (diff)
downloadruby-955f1837a180d8936f90ab6cf039ccb8f751be72.tar.gz
Use space inside block braces everywhere
To make rubygems code style consistent with bundler.
Diffstat (limited to 'test/rubygems/test_gem_util.rb')
-rw-r--r--test/rubygems/test_gem_util.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rubygems/test_gem_util.rb b/test/rubygems/test_gem_util.rb
index 387dff0d8a..cf90350763 100644
--- a/test/rubygems/test_gem_util.rb
+++ b/test/rubygems/test_gem_util.rb
@@ -56,8 +56,8 @@ class TestGemUtil < Gem::TestCase
list = [1,2,3,4,5].inject(Gem::List.new(0)) do |m,o|
Gem::List.new o, m
end
- assert_equal 5, list.find { |x| x == 5 }
- assert_equal 4, list.find { |x| x == 4 }
+ assert_equal 5, list.find {|x| x == 5 }
+ assert_equal 4, list.find {|x| x == 4 }
end
def test_glob_files_in_dir