diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2016-08-09 10:05:19 -0500 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2016-08-22 11:57:30 -0500 |
commit | df5ad43ee9ca5ee0647f962a948f281057785174 (patch) | |
tree | 314cb8a078262bf8f3d376b345b677892bb42004 | |
parent | 689aff2244c80f8246035a839e7d83bb26915a4d (diff) | |
download | bundler-df5ad43ee9ca5ee0647f962a948f281057785174.tar.gz |
Fix base64 regexp in compact index spec
-rw-r--r-- | spec/install/gems/compact_index_spec.rb | 2 |
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 |