summaryrefslogtreecommitdiffstats
path: root/libimagstore
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2016-10-18 15:40:58 +0200
committerMatthias Beyer <mail@beyermatthias.de>2016-10-18 15:41:01 +0200
commitfc464446a9cc5a24998ba40cb443c612b0a853f9 (patch)
tree0aaeba58a4a8badaf00c59c51050cd688badef47 /libimagstore
parent924692d7cb9efe19d14d06a51bd6af0ad0f737ec (diff)
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.
Diffstat (limited to 'libimagstore')
-rw-r--r--libimagstore/src/store.rs2
1 files changed, 1 insertions, 1 deletions
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());