nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 21.05 35 lines 1.1 kB view raw
1diff --git a/src/pass/test.rs b/src/pass/test.rs 2index c980a2f..2e6c8cc 100644 3--- a/src/pass/test.rs 4+++ b/src/pass/test.rs 5@@ -56,6 +56,7 @@ fn populate_password_list_small_repo() { 6 base_path.pop(); 7 base_path.pop(); 8 base_path.pop(); 9+ base_path.pop(); 10 base_path.push("testres"); 11 12 let mut password_dir: PathBuf = base_path.clone(); 13@@ -84,6 +85,7 @@ fn populate_password_list_repo_with_deleted_files() { 14 base_path.pop(); 15 base_path.pop(); 16 base_path.pop(); 17+ base_path.pop(); 18 base_path.push("testres"); 19 20 let mut password_dir: PathBuf = base_path.clone(); 21@@ -112,6 +114,7 @@ fn populate_password_list_directory_without_git() { 22 base_path.pop(); 23 base_path.pop(); 24 base_path.pop(); 25+ base_path.pop(); 26 base_path.push("testres"); 27 28 let mut password_dir: PathBuf = base_path.clone(); 29@@ -149,4 +152,4 @@ fn parse_signing_keys_empty() { 30 let result = PasswordStore::parse_signing_keys(&None).unwrap(); 31 32 assert_eq!(result.len(), 0); 33-} 34\ No newline at end of file 35+}