diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-04-07 09:15:17 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-04-07 05:13:05 +0000 |
commit | 250e97c0fba48d1f87ccecb1b1e1b4bd2a30c388 (patch) | |
tree | b9018bb2916c2e007b7f57981295e4c4f0fd5adc /test/rubygems/test_gem_installer.rb | |
parent | 84ce6fc87347c15cc81939de2d1872984711a4ed (diff) |
[rubygems/rubygems] util/rubocop -A --only Style/FormatString
https://github.com/rubygems/rubygems/commit/132a56569d
Diffstat (limited to 'test/rubygems/test_gem_installer.rb')
-rw-r--r-- | test/rubygems/test_gem_installer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_installer.rb b/test/rubygems/test_gem_installer.rb index b01a6039ff..965f05616b 100644 --- a/test/rubygems/test_gem_installer.rb +++ b/test/rubygems/test_gem_installer.rb @@ -987,7 +987,7 @@ gem 'other', version assert_path_exist exe exe_mode = File.stat(exe).mode & 0111 - assert_equal 0111, exe_mode, "0%o" % exe_mode unless Gem.win_platform? + assert_equal 0111, exe_mode, format("0%o", exe_mode) unless Gem.win_platform? assert_path_exist File.join gemdir, "lib", "code.rb" |