diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-02-20 12:10:48 +0100 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-02-20 12:10:48 +0100 |
commit | 18ca920b429be478ebf5c02827d938eca82e5463 (patch) | |
tree | 188ed98031c00e4532b661bc2efcfbb39ab64426 /spec/install | |
parent | 3f06434770f4c05ccf9ea8c5467c971be518a6f6 (diff) | |
download | bundler-18ca920b429be478ebf5c02827d938eca82e5463.tar.gz |
More exact match for errors message
Just for consistency with the previous spec.
Diffstat (limited to 'spec/install')
-rw-r--r-- | spec/install/gemfile/git_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/install/gemfile/git_spec.rb b/spec/install/gemfile/git_spec.rb index cd8e0f906e..90ba8a7cfb 100644 --- a/spec/install/gemfile/git_spec.rb +++ b/spec/install/gemfile/git_spec.rb @@ -521,7 +521,7 @@ RSpec.describe "bundle install with git sources" do bundle %(config local.rack #{lib_path("local-rack")}) bundle :install - expect(err).to match(/cannot use local override/i) + expect(err).to match(/Cannot use local override for rack-0.8 at #{Regexp.escape(lib_path('local-rack').to_s)} because :branch is not specified in Gemfile/) end it "does not explode if disable_local_branch_check is given" do |