From ffe10e1791283a890520d4077ebf8602fce8caee Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Thu, 25 Jan 2024 09:20:34 +0100 Subject: [PATCH] cucumber no future in tokio main --- members/revsqrt/tests/revsqrt.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/members/revsqrt/tests/revsqrt.rs b/members/revsqrt/tests/revsqrt.rs index a4a8521..56e8fe0 100644 --- a/members/revsqrt/tests/revsqrt.rs +++ b/members/revsqrt/tests/revsqrt.rs @@ -136,5 +136,5 @@ async fn they_are_not_about_the_same(world: &mut NumWorld) { #[tokio::main] async fn main() { - futures::executor::block_on(NumWorld::run("tests/features/book/revsqrt.feature")); + NumWorld::run("tests/features/book/revsqrt.feature").await; }