Limit the information stored in the database #126

Merged
wojtek merged 8 commits from 118---limit-the-information-stored-in-the-database into main 2024-02-10 20:23:10 +01:00
Showing only changes of commit bba2d8e3d7 - Show all commits

View File

@ -57,3 +57,17 @@ impl From<collection::Error> for LoadError {
}
}
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn errors() {
let col_err: LoadError = collection::Error::UrlError(String::from("get rekt")).into();
assert!(!col_err.to_string().is_empty());
assert!(!format!("{:?}", col_err).is_empty());
}
}