Skip to content

Commit

Permalink
chore: Rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
VorpalBlade committed Apr 8, 2024
1 parent 03c50d5 commit f046498
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ use pretty_assertions::assert_eq;

#[test]
fn test_medic() {
let checks = [Check {
let checks = [
Check {
name: "Check 1",
func: || Ok((CheckResult::Ok, "All good".to_string())),
},
Expand All @@ -14,7 +15,8 @@ fn test_medic() {
Check {
name: "Check 3",
func: || Ok((CheckResult::Fatal, "Very bad".to_string())),
}];
},
];
// Get rid of formatting for ease of testing
let mut out_buf = anstream::StripStream::new(Vec::new());

Expand Down

0 comments on commit f046498

Please sign in to comment.