Merge RubyGems 3.2.9 and Bundler 2.2.9 (#4158)

This commit is contained in:
Hiroshi SHIBATA 2021-02-09 22:53:57 +09:00 committed by GitHub
parent 9aba46d8d8
commit 09c681ab38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
60 changed files with 718 additions and 289 deletions

View file

@ -28,4 +28,22 @@ class TestGemCommandsOutdatedCommand < Gem::TestCase
assert_equal "foo (0.2 < 2.0)\n", @ui.output
assert_equal "", @ui.error
end
def test_execute_with_up_to_date_platform_specific_gem
spec_fetcher do |fetcher|
fetcher.download 'foo', '2.0'
fetcher.gem 'foo', '1.0'
fetcher.gem 'foo', '2.0' do |s|
s.platform = Gem::Platform.local
end
end
use_ui @ui do
@cmd.execute
end
assert_equal "", @ui.output
assert_equal "", @ui.error
end
end