Skip to content

Commit

Permalink
Bump base64 from 0.21.7 to 0.22.0 (#925)
Browse files Browse the repository at this point in the history
* Bump base64 from 0.21.7 to 0.22.0

Bumps [base64](https://github.com/marshallpierce/rust-base64) from 0.21.7 to 0.22.0.
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md)
- [Commits](marshallpierce/rust-base64@v0.21.7...v0.22.0)

---
updated-dependencies:
- dependency-name: base64
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* update error output

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adam H. Leventhal <[email protected]>
  • Loading branch information
dependabot[bot] and ahl authored Mar 22, 2024
1 parent cb6b8ff commit e6691c1
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
12 changes: 9 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dropshot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ categories = ["network-programming", "web-programming::http-server"]
[dependencies]
async-stream = "0.3.5"
async-trait = "0.1.78"
base64 = "0.21.7"
base64 = "0.22.0"
bytes = "1"
camino = { version = "1.1.6", features = ["serde1"] }
debug-ignore = "1.0.5"
Expand Down
10 changes: 5 additions & 5 deletions dropshot/tests/test_pagination.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2020 Oxide Computer Company
// Copyright 2024 Oxide Computer Company

//! Test cases for API handler functions that use pagination.
use chrono::DateTime;
Expand Down Expand Up @@ -223,8 +224,7 @@ async fn test_paginate_errors() {
ErrorTestCase {
path: "/intapi?page_token=q".to_string(),
message: "unable to parse query string: failed to parse \
pagination token: Encoded text cannot have a 6-bit \
remainder.",
pagination token: Invalid input length: 1",
},
];

Expand Down Expand Up @@ -392,7 +392,7 @@ async fn test_paginate_empty() {
client,
"/empty?page_token=q",
"unable to parse query string: failed to parse pagination token: \
Encoded text cannot have a 6-bit remainder.",
Invalid input length: 1",
)
.await;

Expand Down Expand Up @@ -843,7 +843,7 @@ async fn start_example(path: &str, port: u16) -> ExampleContext {
.method(Method::GET)
.uri(url.clone())
.body(Body::empty())
.expect("attempted to cosntruct invalid request"),
.expect("attempted to construct invalid request"),
)
.await;
if response.is_ok() {
Expand Down

0 comments on commit e6691c1

Please sign in to comment.