Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c3dcc4e

Browse files
committed
moving test
1 parent 34f6f52 commit c3dcc4e

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

14_lsr/src/lib.rs

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -185,26 +185,6 @@ mod test {
185185
]
186186
);
187187

188-
// Find all entries in a directory
189-
let res = find_files(&["tests/inputs".to_string()], true);
190-
assert!(res.is_ok());
191-
let mut filenames: Vec<_> = res
192-
.unwrap()
193-
.iter()
194-
.map(|entry| entry.display().to_string())
195-
.collect();
196-
filenames.sort();
197-
assert_eq!(
198-
filenames,
199-
[
200-
"tests/inputs/.hidden",
201-
"tests/inputs/bustle.txt",
202-
"tests/inputs/dir",
203-
"tests/inputs/empty.txt",
204-
"tests/inputs/fox.txt",
205-
]
206-
);
207-
208188
// Any existing file should be found even if hidden
209189
let res = find_files(&["tests/inputs/.hidden".to_string()], false);
210190
assert!(res.is_ok());

0 commit comments

Comments
 (0)