|
@ -104,12 +104,12 @@ fn empty_storage() { |
|
|
assert!(storage.read_filename().is_err());
|
|
|
assert!(storage.read_filename().is_err());
|
|
|
assert_eq!(
|
|
|
assert_eq!(
|
|
|
storage.read_filename().unwrap_err().to_string(),
|
|
|
storage.read_filename().unwrap_err().to_string(),
|
|
|
"entity not found"
|
|
|
|
|
|
|
|
|
"No such file or directory (os error 2)"
|
|
|
);
|
|
|
);
|
|
|
assert!(storage.recent_date().is_err());
|
|
|
assert!(storage.recent_date().is_err());
|
|
|
assert_eq!(
|
|
|
assert_eq!(
|
|
|
storage.recent_date().unwrap_err().to_string(),
|
|
|
storage.recent_date().unwrap_err().to_string(),
|
|
|
"entity not found"
|
|
|
|
|
|
|
|
|
"No such file or directory (os error 2)"
|
|
|
);
|
|
|
);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|