diff --git a/src/core/interface/database/mod.rs b/src/core/interface/database/mod.rs index 3f9ab5f..27293d0 100644 --- a/src/core/interface/database/mod.rs +++ b/src/core/interface/database/mod.rs @@ -123,5 +123,9 @@ mod tests { let io_err: SaveError = io::Error::new(io::ErrorKind::Interrupted, "error").into(); assert!(!io_err.to_string().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()); } }