Fix coverage
All checks were successful
Cargo CI / Build and Test (pull_request) Successful in 2m19s
Cargo CI / Lint (pull_request) Successful in 1m18s

This commit is contained in:
Wojciech Kozlowski 2025-01-12 12:13:02 +01:00
parent 88c4d1b555
commit 35524336bb

View File

@ -123,5 +123,9 @@ mod tests {
let io_err: SaveError = io::Error::new(io::ErrorKind::Interrupted, "error").into(); let io_err: SaveError = io::Error::new(io::ErrorKind::Interrupted, "error").into();
assert!(!io_err.to_string().is_empty()); assert!(!io_err.to_string().is_empty());
assert!(!format!("{:?}", io_err).is_empty()); assert!(!format!("{:?}", io_err).is_empty());
let sd_err: SaveError = SaveError::SerDeError(String::from("serde"));
assert!(!sd_err.to_string().is_empty());
assert!(!format!("{:?}", sd_err).is_empty());
} }
} }