mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] Fix typo in multiple gemfiles warning
https://github.com/rubygems/rubygems/commit/bc69d19097
This commit is contained in:
parent
2cc890d7d3
commit
a271acf822
2 changed files with 3 additions and 3 deletions
|
@ -141,7 +141,7 @@ module Bundler
|
|||
end
|
||||
return unless multiple_gemfiles
|
||||
message = "Multiple gemfiles (gems.rb and Gemfile) detected. " \
|
||||
"Make sure you remove Gemfile and Gemfile.lock since bundler is ignoring them in favor of gems.rb and gems.rb.locked."
|
||||
"Make sure you remove Gemfile and Gemfile.lock since bundler is ignoring them in favor of gems.rb and gems.locked."
|
||||
Bundler.ui.warn message
|
||||
end
|
||||
|
||||
|
|
|
@ -352,7 +352,7 @@ RSpec.describe "major deprecations" do
|
|||
G
|
||||
|
||||
expect(warnings).to include(
|
||||
"Multiple gemfiles (gems.rb and Gemfile) detected. Make sure you remove Gemfile and Gemfile.lock since bundler is ignoring them in favor of gems.rb and gems.rb.locked."
|
||||
"Multiple gemfiles (gems.rb and Gemfile) detected. Make sure you remove Gemfile and Gemfile.lock since bundler is ignoring them in favor of gems.rb and gems.locked."
|
||||
)
|
||||
|
||||
expect(the_bundle).not_to include_gem "rack 1.0"
|
||||
|
@ -512,7 +512,7 @@ RSpec.describe "major deprecations" do
|
|||
|
||||
it "should print a single deprecation warning" do
|
||||
expect(warnings).to include(
|
||||
"Multiple gemfiles (gems.rb and Gemfile) detected. Make sure you remove Gemfile and Gemfile.lock since bundler is ignoring them in favor of gems.rb and gems.rb.locked."
|
||||
"Multiple gemfiles (gems.rb and Gemfile) detected. Make sure you remove Gemfile and Gemfile.lock since bundler is ignoring them in favor of gems.rb and gems.locked."
|
||||
)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue