From 47df51defd16091156f9a3f328c506a806e7d518 Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Sat, 17 Aug 2024 18:43:10 -0700 Subject: [PATCH] cleanup and add new test --- core/lib/tests/drop-in-async-context.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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(); } }