Skip to content

Commit b7731ce

Browse files
hcplboats
authored and
boats
committed
Fix a test
1 parent d2a3cf1 commit b7731ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

futures/tests/async_await/smoke.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,6 @@ fn poll_stream_after_error() {
234234

235235
#[test]
236236
fn run_boxed_future_in_cpu_pool() {
237-
let mut pool = executor::ThreadPool::new();
237+
let mut pool = executor::ThreadPool::new().unwrap();
238238
pool.spawn(_foo9()).unwrap();
239239
}

0 commit comments

Comments
 (0)