From d046ab5c4901bc1b3fc21fd0838dce8fa469b2f4 Mon Sep 17 00:00:00 2001 From: jutty Date: Sat, 13 Dec 2025 20:52:02 -0300 Subject: [PATCH] Fail CI on test step --- src/handlers/fixed.rs | 1 + src/main.rs | 8 ++++++++ 2 files changed, 9 insertions(+) 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); + } +}