summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_installer.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-06-14 16:51:20 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-06-15 07:01:28 +0900
commit503b9bf1d4f6c9ef168a2dcd16e01b2e376a305f (patch)
treea5864a44d46e2a0c4fcb00269ac3fa138f5a0429 /test/rubygems/test_gem_installer.rb
parent2c219ab2155483e23d1a6e9fd5262d0206f837e4 (diff)
[rubygems/rubygems] Removed unnecessary disabling of Lint/DuplicateMethods
https://github.com/rubygems/rubygems/commit/225fdf0b2e
Diffstat (limited to 'test/rubygems/test_gem_installer.rb')
-rw-r--r--test/rubygems/test_gem_installer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_installer.rb b/test/rubygems/test_gem_installer.rb
index 3a4566ce8c..71dabe833c 100644
--- a/test/rubygems/test_gem_installer.rb
+++ b/test/rubygems/test_gem_installer.rb
@@ -2340,7 +2340,7 @@ end
ensure
File.class_eval do
remove_method :write
- alias_method :write, :original_write # rubocop:disable Lint/DuplicateMethods
+ alias_method :write, :original_write
remove_method :original_write
end
end