aboutsummaryrefslogtreecommitdiff
path: root/macros/src
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2023-08-01 17:22:35 +0200
committerHampusM <hampus@hampusmat.com>2023-08-01 17:22:35 +0200
commitd8635c0c42cc5e277279d1da241ffa5b2620dd2e (patch)
treef5c1ca3338097f0f62ff14989f62d250787ff2ff /macros/src
parentb455c002dc19a9c9ebb0261532bf4434640cc8aa (diff)
test: remove Result return value of can_build_dependencies
Diffstat (limited to 'macros/src')
-rw-r--r--macros/src/injectable/implementation.rs4
1 files changed, 1 insertions, 3 deletions
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<dyn Error>>
+ 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]