diff --git a/src/index/io.rs b/src/index/io.rs index 420dff5..1ff0496 100644 --- a/src/index/io.rs +++ b/src/index/io.rs @@ -179,7 +179,6 @@ mod must { #[test] fn be_same_when_loaded_from_disk() -> Result<()> { - femme::with_level(log::LevelFilter::Debug); let repository_path = tempdir()?; let mut original = Index::new()?; diff --git a/tests/system_tests.rs b/tests/system_tests.rs index d28266d..9f97445 100644 --- a/tests/system_tests.rs +++ b/tests/system_tests.rs @@ -175,7 +175,7 @@ mod must { backup_file_with_text_contents(&source, repository_path, secret, &test_filename, "some contents").unwrap(); let all_repo_files = get_sorted_files_recursively(repository_path).unwrap(); - assert!(all_repo_files.len() > 0); + assert!(!all_repo_files.is_empty()); for filepath in all_repo_files { let mut file = File::open(&filepath).unwrap();