diff options
Diffstat (limited to 'cli/worker.rs')
-rw-r--r-- | cli/worker.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cli/worker.rs b/cli/worker.rs index 71a42dd8d..e32e1e06e 100644 --- a/cli/worker.rs +++ b/cli/worker.rs @@ -126,7 +126,7 @@ mod tests { argv, op_selector_std, Progress::new(), - ); + ).unwrap(); let state_ = state.clone(); tokio_util::run(lazy(move || { let mut worker = @@ -154,7 +154,7 @@ mod tests { argv, op_selector_std, Progress::new(), - ); + ).unwrap(); let state_ = state.clone(); tokio_util::run(lazy(move || { let mut worker = @@ -180,7 +180,8 @@ mod tests { let mut flags = flags::DenoFlags::default(); flags.reload = true; let state = - ThreadSafeState::new(flags, argv, op_selector_std, Progress::new()); + ThreadSafeState::new(flags, argv, op_selector_std, Progress::new()) + .unwrap(); let state_ = state.clone(); tokio_util::run(lazy(move || { let mut worker = Worker::new( |