changeset 49749 | c7fb9b74e753 |
parent 48557 | 791f5d5f7a96 |
child 50003 | e98fd81bb151 |
49748:1b6be761c23d | 49749:c7fb9b74e753 |
---|---|
355 #[cfg(test)] |
355 #[cfg(test)] |
356 mod tests { |
356 mod tests { |
357 |
357 |
358 use super::*; |
358 use super::*; |
359 use crate::testing::{SampleGraph, VecGraph}; |
359 use crate::testing::{SampleGraph, VecGraph}; |
360 use std::iter::FromIterator; |
|
361 |
360 |
362 fn list_ancestors<G: Graph>( |
361 fn list_ancestors<G: Graph>( |
363 graph: G, |
362 graph: G, |
364 initrevs: Vec<Revision>, |
363 initrevs: Vec<Revision>, |
365 stoprev: Revision, |
364 stoprev: Revision, |