Skip to content

Commit 6c813a4

Browse files
test(pre-compute): move mock into closure for start_with_app
1 parent e56d04b commit 6c813a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pre-compute/src/compute/app_runner.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ mod pre_compute_start_with_app_tests {
267267
(IS_DATASET_REQUIRED, Some("false")),
268268
];
269269

270-
temp_env::with_vars(env_vars, || start_with_app(&mut mock, CHAIN_TASK_ID))
270+
temp_env::with_vars(env_vars, move || start_with_app(&mut mock, CHAIN_TASK_ID))
271271
})
272272
.await
273273
.expect("Blocking task panicked");

0 commit comments

Comments
 (0)