mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-12 15:36:30 +00:00
adjust some spelling
This commit is contained in:
parent
0eb7966294
commit
7b1ee01eb5
@ -263,7 +263,7 @@ mod test {
|
||||
}
|
||||
|
||||
|
||||
mod ignore_patternses {
|
||||
mod ignore_patterns {
|
||||
use super::*;
|
||||
use std::iter::FromIterator;
|
||||
use glob;
|
||||
|
@ -194,19 +194,19 @@ pub mod test {
|
||||
use std::ffi::OsString;
|
||||
|
||||
let bits = inputs.into_iter().map(|&o| os(o)).collect::<Vec<OsString>>();
|
||||
let mut rezzies = Vec::new();
|
||||
let mut result = Vec::new();
|
||||
|
||||
if strictnesses == Last || strictnesses == Both {
|
||||
let results = Args(args).parse(bits.iter(), Strictness::UseLastArguments);
|
||||
rezzies.push(get(&results.unwrap().flags));
|
||||
result.push(get(&results.unwrap().flags));
|
||||
}
|
||||
|
||||
if strictnesses == Complain || strictnesses == Both {
|
||||
let results = Args(args).parse(bits.iter(), Strictness::ComplainAboutRedundantArguments);
|
||||
rezzies.push(get(&results.unwrap().flags));
|
||||
result.push(get(&results.unwrap().flags));
|
||||
}
|
||||
|
||||
rezzies
|
||||
result
|
||||
}
|
||||
|
||||
/// Creates an `OSStr` (used in tests)
|
||||
|
Loading…
Reference in New Issue
Block a user