mirror of
https://github.com/MingweiSamuel/Riven.git
synced 2024-12-26 10:56:34 +00:00
Fix typo causing tests to always succeed.
This commit is contained in:
parent
72b37d770d
commit
01aebf5126
1 changed files with 1 additions and 4 deletions
|
@ -23,13 +23,10 @@ macro_rules! async_tests {
|
|||
}.await;
|
||||
result
|
||||
};
|
||||
// let $name = tokio_executor::Executor::spawn_with_handle(
|
||||
// &mut tokio_executor::DefaultExecutor::current(), $name)
|
||||
// .expect("Failed to spawn.");
|
||||
let $name = tokio::spawn($name);
|
||||
)*
|
||||
$(
|
||||
let $name = $name.await;
|
||||
let $name = $name.await.expect("Failed to spawn.");
|
||||
)*
|
||||
$(
|
||||
print!("test {} ... ", stringify!($name));
|
||||
|
|
Loading…
Reference in a new issue