diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-03-02 20:36:40 +0900 |
---|---|---|
committer | NARUSE, Yui <nurse@users.noreply.github.com> | 2021-03-11 17:24:52 +0900 |
commit | 38f8b8d070aaac02f1d048b5d9947b2e58401e2b (patch) | |
tree | 7fe8202e3a2dc068b84627cf321bbb5798e21859 /test | |
parent | 70e9489f9ea85ddaa68fb43398c14a3921cacb27 (diff) |
Merge RubyGems-3.2.10 and Bundler-2.2.10
Diffstat (limited to 'test')
-rw-r--r-- | test/rubygems/test_gem.rb | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/test/rubygems/test_gem.rb b/test/rubygems/test_gem.rb index 1c6d790b25..8b028d3495 100644 --- a/test/rubygems/test_gem.rb +++ b/test/rubygems/test_gem.rb @@ -1958,15 +1958,9 @@ class TestGem < Gem::TestCase io.write 'gem "a"' end - platform = Bundler::GemHelpers.generic_local_platform - if platform == Gem::Platform::RUBY - platform = '' - else - platform = " #{platform}" - end - expected = <<-EXPECTED -Could not find gem 'a#{platform}' in any of the gem sources listed in your Gemfile. +Could not find gem 'a' in locally installed gems. +The source does not contain any versions of 'a' You may need to `gem install -g` to install missing gems EXPECTED |