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

@ -110,6 +110,7 @@ pub fn test(args: TokenStream, function: TokenStream) -> TokenStream {
);
));
cx_teardowns.extend(quote!(
dispatcher.run_until_parked();
#cx_varname.quit();
dispatcher.run_until_parked();
));
@ -174,6 +175,7 @@ pub fn test(args: TokenStream, function: TokenStream) -> TokenStream {
));
inner_fn_args.extend(quote!(&mut #cx_varname_lock,));
cx_teardowns.extend(quote!(
dispatcher.run_until_parked();
#cx_varname_lock.quit();
drop(#cx_varname_lock);
dispatcher.run_until_parked();
@ -188,6 +190,7 @@ pub fn test(args: TokenStream, function: TokenStream) -> TokenStream {
);
));
cx_teardowns.extend(quote!(
dispatcher.run_until_parked();
#cx_varname.quit();
dispatcher.run_until_parked();
));