Remove Option::{unwrap_none, expect_none}.
This commit is contained in:
@@ -25,7 +25,6 @@
|
||||
#![feature(nll)]
|
||||
#![feature(available_concurrency)]
|
||||
#![feature(internal_output_capture)]
|
||||
#![feature(option_unwrap_none)]
|
||||
#![feature(panic_unwind)]
|
||||
#![feature(staged_api)]
|
||||
#![feature(termination_trait_lib)]
|
||||
@@ -298,8 +297,9 @@ where
|
||||
let test = remaining.pop().unwrap();
|
||||
let event = TestEvent::TeWait(test.desc.clone());
|
||||
notify_about_test_event(event)?;
|
||||
run_test(opts, !opts.run_tests, test, run_strategy, tx.clone(), Concurrent::No)
|
||||
.unwrap_none();
|
||||
let join_handle =
|
||||
run_test(opts, !opts.run_tests, test, run_strategy, tx.clone(), Concurrent::No);
|
||||
assert!(join_handle.is_none());
|
||||
let completed_test = rx.recv().unwrap();
|
||||
|
||||
let event = TestEvent::TeResult(completed_test);
|
||||
|
||||
Reference in New Issue
Block a user