mirror of https://github.com/MingweiSamuel/Riven
Fix typo causing tests to always succeed.
parent
72b37d770d
commit
01aebf5126
|
@ -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 New Issue