test dumps

This commit is contained in:
mpostma 2021-10-05 13:53:22 +02:00
parent ece4c739f4
commit 4b4ebad9a9
3 changed files with 132 additions and 13 deletions

View file

@ -292,7 +292,7 @@ pub mod test {
pub fn dump(&self, path: impl AsRef<Path>) -> Result<()> {
match self {
MockIndex::Vrai(index) => index.dump(path),
MockIndex::Faux(_) => todo!(),
MockIndex::Faux(faux) => faux.get("dump").call(path.as_ref()),
}
}
}