Skip to content

Commit

Permalink
Incorporate feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
jdisanti committed Nov 2, 2022
1 parent 9977f25 commit 4f71d15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ class RequestBindingGeneratorTest {
.key(ts.clone())
.build().unwrap();
let err = inp.test_request_builder_base().expect_err("can't build request with bucket unset");
let message = format!("{err}");
let message = err.to_string();
let expected = "bucket_name was missing: cannot be empty or unset";
assert!(message.contains(expected), "expected '{message}' to contain '{expected}'");
""",
Expand Down
2 changes: 1 addition & 1 deletion rust-runtime/aws-smithy-client/src/hyper_ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ mod timeout_middleware {
"expected resp.is_timeout() to be true but it was false, resp == {:?}",
resp
);
let message = format!("{}", DisplayErrorContext(&resp));
let message = DisplayErrorContext(&resp).to_string();
let expected =
"timeout: error trying to connect: HTTP connect timeout occurred after 1s";
assert!(
Expand Down

0 comments on commit 4f71d15

Please sign in to comment.