summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_commands_environment_command.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2023-03-16 11:58:13 +0900
committerHiroshi SHIBATA <[email protected]>2023-03-17 18:50:55 +0900
commit9ffd73523db3c80237bd26099c9e11f9f6e3a444 ()
tree54fefdb647f110fc1d278aebf3cbe43a6ee6af4e /test/rubygems/test_gem_commands_environment_command.rb
parent583fbc627c2ad69457e37fc909f7aaf889d53483 (diff)
[rubygems/rubygems] util/rubocop -A --only Layout/EmptyLinesAroundExceptionHandlingKeywords
https://.com/rubygems/rubygems/commit/ad1fe68d97
-rw-r--r--test/rubygems/test_gem_commands_environment_command.rb2
1 files changed, 0 insertions, 2 deletions
@@ -48,7 +48,6 @@ class TestGemCommandsEnvironmentCommand < Gem::TestCase
assert_match %r{- /bin$}, @ui.output
assert_empty @ui.error
-
ensure
Gem.sources.replace orig_sources
ENV["PATH"] = orig_path
@@ -125,7 +124,6 @@ class TestGemCommandsEnvironmentCommand < Gem::TestCase
assert_equal "http://gems.example.com\n", @ui.output
assert_equal "", @ui.error
-
ensure
Gem.sources.replace orig_sources
end