diff options
Diffstat (limited to 'src/item.rs')
-rw-r--r-- | src/item.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/item.rs b/src/item.rs index 361b327..7c5935d 100644 --- a/src/item.rs +++ b/src/item.rs @@ -165,7 +165,7 @@ fn add_group_to_list_of_groups_allowed() { item.group_allow("test"); match item.data.get("groups_allow") { Some(ItemData::List(v)) => assert_eq!(v.len(), 1), - Some(ItemData::Value(s)) => assert!(false, format!("Expected a list, found value: {}", s)), + Some(ItemData::Value(s)) => assert!(false, "Expected a list, found value: {}", s), None => assert!(false, "List not found!"), }; } |