mirror of
https://github.com/MingweiSamuel/Riven.git
synced 2024-12-27 03:16:33 +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;
|
}.await;
|
||||||
result
|
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 = tokio::spawn($name);
|
||||||
)*
|
)*
|
||||||
$(
|
$(
|
||||||
let $name = $name.await;
|
let $name = $name.await.expect("Failed to spawn.");
|
||||||
)*
|
)*
|
||||||
$(
|
$(
|
||||||
print!("test {} ... ", stringify!($name));
|
print!("test {} ... ", stringify!($name));
|
||||||
|
|
Loading…
Reference in a new issue