Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
dwrensha committed Sep 3, 2024
1 parent 59760b4 commit 89516f6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion capnp-rpc/test/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,9 @@ fn pipelining_return_null() {
let cap = request.send().pipeline.get_cap();
match cap.foo_request().send().promise.await {
Err(ref e) => {
if e.extra.contains("Pipeline call on a request that returned no capabilities") {
if e.extra
.contains("Pipeline call on a request that returned no capabilities")
{
Ok(())
} else {
Err(Error::failed(format!(
Expand Down

0 comments on commit 89516f6

Please sign in to comment.