From fc464446a9cc5a24998ba40cb443c612b0a853f9 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 18 Oct 2016 15:40:58 +0200 Subject: [PATCH] Fix test StoreId name The name of the storeid was duplicated, which caused the tests to fail from time to time. This patch fixes the name of the entry which is used to test. --- libimagstore/src/store.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libimagstore/src/store.rs b/libimagstore/src/store.rs index bbf3e85e..34fe2e45 100644 --- a/libimagstore/src/store.rs +++ b/libimagstore/src/store.rs @@ -2943,7 +2943,7 @@ aspect = "test" #[test] fn test_post_delete_allowed_error() { let store = get_store_with_allowed_error_hook_at_pos(HP::PostDelete); - let pb = StoreId::new_baseless(PathBuf::from("test_pre_delete_allowed_error")).unwrap(); + let pb = StoreId::new_baseless(PathBuf::from("test_post_delete_allowed_error")).unwrap(); assert!(store.create(pb.clone()).is_ok()); let pb = pb.with_base(store.path().clone());