File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1339,7 +1339,7 @@ async fn heartbeat_response_can_be_paused() {
13391339 task_token == & vec![ 1 ] &&
13401340 * reason == ActivityCancelReason :: Paused as i32 &&
13411341 details. as_ref( ) . is_some_and( |d| d. is_paused) &&
1342- details. as_ref( ) . is_some_and( |d| d. is_cancelled == false )
1342+ details. as_ref( ) . is_some_and( |d| ! d. is_cancelled)
13431343 ) ;
13441344 core. complete_activity_task ( ActivityTaskCompletion {
13451345 task_token : act. task_token ,
@@ -1364,7 +1364,7 @@ async fn heartbeat_response_can_be_paused() {
13641364 } if
13651365 task_token == & vec![ 2 ] &&
13661366 * reason == ActivityCancelReason :: Cancelled as i32 &&
1367- details. as_ref( ) . is_some_and( |d| d. is_paused == false ) &&
1367+ details. as_ref( ) . is_some_and( |d| ! d. is_paused) &&
13681368 details. as_ref( ) . is_some_and( |d| d. is_cancelled)
13691369 ) ;
13701370 core. complete_activity_task ( ActivityTaskCompletion {
You can’t perform that action at this time.
0 commit comments