From d8635c0c42cc5e277279d1da241ffa5b2620dd2e Mon Sep 17 00:00:00 2001 From: HampusM Date: Tue, 1 Aug 2023 17:22:35 +0200 Subject: test: remove Result return value of can_build_dependencies --- macros/src/injectable/implementation.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'macros/src') diff --git a/macros/src/injectable/implementation.rs b/macros/src/injectable/implementation.rs index 39207b3..3d73cd0 100644 --- a/macros/src/injectable/implementation.rs +++ b/macros/src/injectable/implementation.rs @@ -605,7 +605,7 @@ mod tests } #[test] - fn can_build_dependencies() -> Result<(), Box> + fn can_build_dependencies() { let method = ImplItemMethod { attrs: vec![], @@ -665,8 +665,6 @@ mod tests .expect("Expected Ok"); assert_eq!(dependencies.len(), 2); - - Ok(()) } #[test] -- cgit v1.2.3-18-g5258