Fail CI on test step
This commit is contained in:
parent
227c0acd6c
commit
d046ab5c49
2 changed files with 9 additions and 0 deletions
|
|
@ -41,6 +41,7 @@ pub async fn file(file_path: &str, content_type: &str) -> Response<Body> {
|
|||
response
|
||||
}
|
||||
|
||||
#[expect(clippy::unused_async)]
|
||||
pub async fn serial(format: &Format) -> Response<Body> {
|
||||
let graph = populate_graph();
|
||||
let body = serialize_graph(format, &graph);
|
||||
|
|
|
|||
|
|
@ -84,3 +84,11 @@ async fn main() {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
#[test]
|
||||
fn fail() {
|
||||
assert_eq!(0_i32, 1_i32);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue