model/lockfile. one less clone!
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I8dbfc511fc07273a69953b03404efc656a6a6964
This commit is contained in:
parent
c6d60b4459
commit
0fecd1486b
1 changed files with 4 additions and 2 deletions
|
|
@ -20,13 +20,15 @@ mod tests {
|
|||
let mut id_map = HashMap::new();
|
||||
id_map.insert("modrinth".to_string(), pakku_id.to_string());
|
||||
|
||||
let slug_map = name_map.clone();
|
||||
|
||||
Project {
|
||||
pakku_id: Some(pakku_id.to_string()),
|
||||
pakku_links: HashSet::new(),
|
||||
r#type: ProjectType::Mod,
|
||||
side: ProjectSide::Both,
|
||||
slug: name_map.clone(),
|
||||
name: name_map.clone(),
|
||||
slug: slug_map,
|
||||
name: name_map,
|
||||
id: id_map,
|
||||
update_strategy: UpdateStrategy::Latest,
|
||||
redistributable: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue