Skip to content

Commit

Permalink
fix test asserting unit
Browse files Browse the repository at this point in the history
  • Loading branch information
matheus-consoli committed Mar 20, 2024
1 parent d2850ab commit 1f42419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/future/try_join/tuple.rs
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ mod test {
let res: Result<(_, char), ()> = (future::ready(Ok("hello")), future::ready(Err(())))
.try_join()
.await;
assert_eq!(res.unwrap_err(), ());
assert_eq!(res, Err(()));
})
}

Expand Down

0 comments on commit 1f42419

Please sign in to comment.