mirror of
https://github.com/ruby/ruby.git
synced 2025-09-20 11:03:58 +02:00
Merge RubyGems 3.2.9 and Bundler 2.2.9 (#4158)
This commit is contained in:
parent
9aba46d8d8
commit
09c681ab38
60 changed files with 718 additions and 289 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue