Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34f6f52 commit c3dcc4eCopy full SHA for c3dcc4e
14_lsr/src/lib.rs
@@ -185,26 +185,6 @@ mod test {
185
]
186
);
187
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
-
208
// Any existing file should be found even if hidden
209
let res = find_files(&["tests/inputs/.hidden".to_string()], false);
210
assert!(res.is_ok());
0 commit comments