aboutsummaryrefslogtreecommitdiff
path: root/src/di_container/blocking/binding/when_configurator.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/di_container/blocking/binding/when_configurator.rs')
-rw-r--r--src/di_container/blocking/binding/when_configurator.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/di_container/blocking/binding/when_configurator.rs b/src/di_container/blocking/binding/when_configurator.rs
index 656d81d..82f12f2 100644
--- a/src/di_container/blocking/binding/when_configurator.rs
+++ b/src/di_container/blocking/binding/when_configurator.rs
@@ -101,9 +101,6 @@ mod tests
mocks::MockDependencyHistory,
>::new(Rc::new(di_container_mock));
- assert!(matches!(
- binding_when_configurator.when_named("cool"),
- Ok(_)
- ));
+ assert!(binding_when_configurator.when_named("cool").is_ok());
}
}