Get tests green

This commit is contained in:
Mikayla 2023-11-08 10:38:43 -08:00
parent 9b30f490c7
commit e1cb993878
No known key found for this signature in database
133 changed files with 130 additions and 31992 deletions

View file

@ -98,6 +98,7 @@ impl BackgroundExecutor {
}
#[cfg(any(test, feature = "test-support"))]
#[track_caller]
pub fn block_test<R>(&self, future: impl Future<Output = R>) -> R {
self.block_internal(false, future)
}
@ -106,6 +107,7 @@ impl BackgroundExecutor {
self.block_internal(true, future)
}
#[track_caller]
pub(crate) fn block_internal<R>(
&self,
background_only: bool,