diff --git a/src/handlers/fixed.rs b/src/handlers/fixed.rs index 1b27268..c9b0fb0 100644 --- a/src/handlers/fixed.rs +++ b/src/handlers/fixed.rs @@ -41,6 +41,7 @@ pub async fn file(file_path: &str, content_type: &str) -> Response { response } +#[expect(clippy::unused_async)] pub async fn serial(format: &Format) -> Response { let graph = populate_graph(); let body = serialize_graph(format, &graph); diff --git a/src/main.rs b/src/main.rs index e47ffa1..8051b92 100644 --- a/src/main.rs +++ b/src/main.rs @@ -84,3 +84,11 @@ async fn main() { } } } + +#[cfg(test)] +mod tests { + #[test] + fn fail() { + assert_eq!(0_i32, 1_i32); + } +}