From d6d874a578718d6b4880208f5964428222237468 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Wed, 7 Aug 2024 11:33:40 +0200 Subject: [PATCH] fix: tests Signed-off-by: kjuulh --- crates/mad/tests/mod.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/crates/mad/tests/mod.rs b/crates/mad/tests/mod.rs index d7eafde..388c86a 100644 --- a/crates/mad/tests/mod.rs +++ b/crates/mad/tests/mod.rs @@ -1,4 +1,3 @@ -use anyhow::anyhow; use async_trait::async_trait; use mad::{Component, Mad}; use rand::Rng; @@ -18,8 +17,6 @@ impl Component for NeverEndingRun { tokio::time::sleep(std::time::Duration::from_millis(millis_wait)).await; - return Err(mad::MadError::Inner(anyhow!("failed to run stuff"))); - Ok(()) } } @@ -87,7 +84,5 @@ async fn test_can_run_components() -> anyhow::Result<()> { .run() .await?; - anyhow::bail!("stuff"); - Ok(()) }