Skip to content

Commit 24d23a8

Browse files
committed
Clean up
1 parent a18d7b8 commit 24d23a8

File tree

1 file changed

+4
-16
lines changed

1 file changed

+4
-16
lines changed

core/src/core_tests/workflow_tasks.rs

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2549,15 +2549,9 @@ async fn post_terminal_commands_are_retained_when_replaying_and_flag_set() {
25492549
CompleteWorkflowExecution { result: None }.into(),
25502550
start_timer_cmd(1, Duration::from_secs(1)),
25512551
];
2552-
let expected_command_types_emitted = None;
25532552

2554-
_do_post_terminal_commands_test(
2555-
commands_sent_by_lang,
2556-
[ResponseType::AllHistory],
2557-
expected_command_types_emitted,
2558-
t,
2559-
)
2560-
.await
2553+
_do_post_terminal_commands_test(commands_sent_by_lang, [ResponseType::AllHistory], None, t)
2554+
.await
25612555
}
25622556

25632557
#[tokio::test]
@@ -2576,15 +2570,9 @@ async fn post_terminal_commands_are_not_retained_when_replaying_and_flag_not_set
25762570
CompleteWorkflowExecution { result: None }.into(),
25772571
start_timer_cmd(1, Duration::from_secs(1)),
25782572
];
2579-
let expected_command_types_emitted = None;
25802573

2581-
_do_post_terminal_commands_test(
2582-
commands_sent_by_lang,
2583-
[ResponseType::AllHistory],
2584-
expected_command_types_emitted,
2585-
t,
2586-
)
2587-
.await
2574+
_do_post_terminal_commands_test(commands_sent_by_lang, [ResponseType::AllHistory], None, t)
2575+
.await
25882576
}
25892577

25902578
async fn _do_post_terminal_commands_test(

0 commit comments

Comments
 (0)