diff --git a/nssa/src/error.rs b/nssa/src/error.rs index 83c88998..c42b70d2 100644 --- a/nssa/src/error.rs +++ b/nssa/src/error.rs @@ -76,7 +76,7 @@ mod tests { TestErr, } - fn test_function_ensure(cond: bool) -> Result<(), testError> { + fn test_function_ensure(cond: bool) -> Result<(), TestError> { ensure!(cond, TestError::TestErr); Ok(())