fix non_existing_folder failure on log rotation
@@ -155,7 +155,7 @@ pub fn non_existing_folder() {
assert!(path.exists());
assert!(metadata(path).unwrap().is_dir());
- assert_eq!(std::fs::read_dir(&path).unwrap().count(), 1);
+ assert!(std::fs::read_dir(&path).unwrap().count() > 0);
}
#[test]
