summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-02-20 12:10:48 +0100
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-02-20 12:10:48 +0100
commit18ca920b429be478ebf5c02827d938eca82e5463 (patch)
tree188ed98031c00e4532b661bc2efcfbb39ab64426
parent3f06434770f4c05ccf9ea8c5467c971be518a6f6 (diff)
downloadbundler-18ca920b429be478ebf5c02827d938eca82e5463.tar.gz
More exact match for errors message
Just for consistency with the previous spec.
-rw-r--r--spec/install/gemfile/git_spec.rb2
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