Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: tokio-rs/tokio
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ed370004263daf2ad33e8be0c5d4432ab2ea930a
Choose a base ref
..
head repository: tokio-rs/tokio
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 9b2719d49c005941b19475269ca4c6ecba91b4ec
Choose a head ref
Showing with 2 additions and 4 deletions.
  1. +2 −4 tokio/tests/task_abort.rs
6 changes: 2 additions & 4 deletions tokio/tests/task_abort.rs
Original file line number Diff line number Diff line change
@@ -270,8 +270,7 @@ fn test_join_error_display() {
let join_err_str = join_err.to_string();

assert!(
join_err_str.starts_with("task ")
&& join_err_str.ends_with(" panicked"),
join_err_str.starts_with("task ") && join_err_str.ends_with(" panicked"),
"Unexpected join_err_str {:?}",
join_err_str
);
@@ -325,8 +324,7 @@ fn test_join_error_debug() {
let join_err_str = format!("{:?}", join_err);

assert!(
join_err_str.starts_with("JoinError::Panic(Id(")
&& join_err_str.ends_with("), ...)"),
join_err_str.starts_with("JoinError::Panic(Id(") && join_err_str.ends_with("), ...)"),
"Unexpected join_err_str {:?}",
join_err_str
);