summaryrefslogtreecommitdiff
path: root/spec/install/gems/compact_index_spec.rb
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2016-08-09 10:05:19 -0500
committerSamuel Giddins <segiddins@segiddins.me>2016-08-22 11:57:30 -0500
commitdf5ad43ee9ca5ee0647f962a948f281057785174 (patch)
tree314cb8a078262bf8f3d376b345b677892bb42004 /spec/install/gems/compact_index_spec.rb
parent689aff2244c80f8246035a839e7d83bb26915a4d (diff)
downloadbundler-df5ad43ee9ca5ee0647f962a948f281057785174.tar.gz
Fix base64 regexp in compact index spec
Diffstat (limited to 'spec/install/gems/compact_index_spec.rb')
-rw-r--r--spec/install/gems/compact_index_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/install/gems/compact_index_spec.rb b/spec/install/gems/compact_index_spec.rb
index 926ae6bc8b..74d0987f77 100644
--- a/spec/install/gems/compact_index_spec.rb
+++ b/spec/install/gems/compact_index_spec.rb
@@ -705,7 +705,7 @@ The checksum of /versions does not match the checksum provided by the server! So
expect(out).
to include("The checksum for the downloaded `rack-1.0.0.gem` did not match the checksum given by the API.").
and include("This means that the contents of the gem appear to be different from what was uploaded, and could be an indicator of a security issue.").
- and match(/\(The expected SHA256 checksum was "checksum!", but the checksum for the downloaded gem was "[a-zA-Z0-9]+="\.\)/).
+ and match(/\(The expected SHA256 checksum was "checksum!", but the checksum for the downloaded gem was "[\w\\+=]+"\.\)/).
and include("Bundler cannot continue installing rack (1.0.0).")
end
end