diff --git a/src/testing/helpers.rs b/src/testing/helpers.rs index beda9fe..1a4e89b 100644 --- a/src/testing/helpers.rs +++ b/src/testing/helpers.rs @@ -32,7 +32,7 @@ pub fn deps_with_creator( deps } -pub fn assert_err(result: Result, error: &E) { +pub fn assert_err(result: Result, error: &F) { // Check if result contains specific error match result { Ok(_) => panic!("Expected Err, got Ok"),