Skip to content

Commit

Permalink
Fix doc test errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
hhandika committed Sep 2, 2024
1 parent 3dd1a6d commit f797382
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/helper/finder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ impl<'a> MafFileFinder<'a> {
///
/// let dir = Path::new("tests/files/maf");
/// let files = MafFileFinder::new(&dir).find();
/// assert_eq!(files.len(), 2);
/// assert_eq!(files.len(), 1);
pub fn find(&mut self) -> Vec<PathBuf> {
self.maf_pattern();
let files = self.glob_files(&self.pattern);
Expand All @@ -243,7 +243,7 @@ impl<'a> MafFileFinder<'a> {
///
/// let dir = Path::new("tests/files/maf");
/// let files = MafFileFinder::new(&dir).find_recursive();
/// assert_eq!(files.len(), 2);
/// assert_eq!(files.len(), 1);
pub fn find_recursive(&self) -> Vec<PathBuf> {
walk_dir!(self, re_matches_maf_lazy)
}
Expand Down

0 comments on commit f797382

Please sign in to comment.