|
|
@@ -154,12 +154,12 @@ mod tests {
|
|
|
CollectionsConfig::default()
|
|
|
)?;
|
|
|
let mut res: Vec<_> = collections.bam.by_id_completed(15.0, 10.0).iter().map(|b| {
|
|
|
- (b.id.to_string(), b.time_point.to_string())
|
|
|
+ (b.id.to_string(), b.time_point.to_string(), b.path.to_str().unwrap().to_string())
|
|
|
}).collect();
|
|
|
res.sort_by_key(|b| b.1.clone());
|
|
|
res.sort_by_key(|b| b.0.clone());
|
|
|
|
|
|
- res.iter().for_each(|(id, tp)| println!("{id}\t{tp}"));
|
|
|
+ res.iter().for_each(|(id, tp, path)| println!("{id}\t{tp}\t{path}"));
|
|
|
Ok(())
|
|
|
}
|
|
|
}
|