diff options
author | Hiroshi SHIBATA <[email protected]> | 2023-06-14 16:51:20 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2023-06-15 07:01:28 +0900 |
commit | 503b9bf1d4f6c9ef168a2dcd16e01b2e376a305f (patch) | |
tree | a5864a44d46e2a0c4fcb00269ac3fa138f5a0429 | |
parent | 2c219ab2155483e23d1a6e9fd5262d0206f837e4 (diff) |
[rubygems/rubygems] Removed unnecessary disabling of Lint/DuplicateMethods
https://github.com/rubygems/rubygems/commit/225fdf0b2e
-rw-r--r-- | test/rubygems/test_gem_installer.rb | 2 | ||||
-rw-r--r-- | test/rubygems/test_gem_platform.rb | 2 |
2 files changed, 2 insertions, 2 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 diff --git a/test/rubygems/test_gem_platform.rb b/test/rubygems/test_gem_platform.rb index 4d1e0298ea..4c715d5b2d 100644 --- a/test/rubygems/test_gem_platform.rb +++ b/test/rubygems/test_gem_platform.rb @@ -71,7 +71,7 @@ class TestGemPlatform < Gem::TestCase Gem.platforms = platforms class << Gem::Platform remove_method :match_gem? - alias_method :match_gem?, :original_match_gem? # rubocop:disable Lint/DuplicateMethods + alias_method :match_gem?, :original_match_gem? remove_method :original_match_gem? end end |