From 6d7065d10efd6414227e201b5b4b27aed50f92f6 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 10 Mar 2016 19:12:00 +0100 Subject: [PATCH] Fix test: StoreId does not start with "/" anymore --- libimagstore/src/storeid.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libimagstore/src/storeid.rs b/libimagstore/src/storeid.rs index 35979fe8..92eaec49 100644 --- a/libimagstore/src/storeid.rs +++ b/libimagstore/src/storeid.rs @@ -99,8 +99,7 @@ mod test { fn correct_path() { let p = module_path::ModuleEntryPath::new("test"); - assert_eq!(p.into_storeid().to_str().unwrap(), - "/test/test~0.2.0-alpha+leet1337"); + assert_eq!(p.into_storeid().to_str().unwrap(), "test/test~0.2.0-alpha+leet1337"); } }