Fix tests

This commit is contained in:
Adrian Heine 2020-08-06 19:35:47 +02:00
parent 67b6f90fe0
commit 907fbf95db
3 changed files with 4 additions and 4 deletions

View file

@ -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());
assert_eq!(
storage.recent_date().unwrap_err().to_string(),
"entity not found"
"No such file or directory (os error 2)"
);
}