wip on new tests

This commit is contained in:
Cyryl Płotnicki 2019-09-01 22:21:34 +01:00
parent e275877d73
commit 34c12508f5
2 changed files with 2 additions and 1 deletions

View file

@ -47,6 +47,7 @@ impl Index {
}
pub fn remember(&mut self, item: RepositoryItem) {
println!("remembering {:#?}", item);
self.items.push(item.into());
}

View file

@ -80,7 +80,7 @@ impl<'a> Repository<'a> {
source_path,
destination_path,
destination_path.strip_prefix(self.path)?,
Box::from(version),
version,
));
}
Ok(())