diff --git a/core/lib/tests/drop-in-async-context.rs b/core/lib/tests/drop-in-async-context.rs index 17e47675c4..d774f5e308 100644 --- a/core/lib/tests/drop-in-async-context.rs +++ b/core/lib/tests/drop-in-async-context.rs @@ -62,8 +62,6 @@ mod main { #[test] fn test_execute_directly() { - rocket::execute(async { - rocket::execute(super::rocket().launch()).unwrap(); - }); + rocket::execute(super::rocket().launch()).unwrap(); } }