Fix coverage
This commit is contained in:
parent
88c4d1b555
commit
35524336bb
@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user