@ -78,7 +78,7 @@ fn no_file() {
#[test]
fn may_not_read_file() {
let symbol = get_symbol(&Path::new("/etc/shadow"));
let symbol = FileSymbol::new(Path::new("/etc/shadow"), "");
assert_eq!(symbol.target_reached().is_err(), true);
}
@ -60,7 +60,7 @@ fn can_create_an_acme_cert() {
.unwrap(),
"/etc/ssl/local_certs/somehost.crt",
);
assert_eq!(*count.borrow(), 15);
assert_eq!(*count.borrow(), 19);
@ -104,12 +104,12 @@ fn empty_storage() {
assert!(storage.read_filename().is_err());
assert_eq!(
storage.read_filename().unwrap_err().to_string(),
"entity not found"
"No such file or directory (os error 2)"
assert!(storage.recent_date().is_err());
storage.recent_date().unwrap_err().to_string(),