mirror of
https://github.com/lsd-rs/lsd
synced 2024-12-13 21:52:37 +00:00
Fix symlink_arrow test intercepting cli args
This commit is contained in:
parent
292154358f
commit
ebe7417a88
1 changed files with 2 additions and 1 deletions
|
@ -62,9 +62,10 @@ mod test {
|
|||
#[test]
|
||||
fn test_symlink_arrow_from_args_none() {
|
||||
use clap::App;
|
||||
let empty_args: [String; 0] = [];
|
||||
assert_eq!(
|
||||
None,
|
||||
SymlinkArrow::from_arg_matches(&App::new("lsd").get_matches())
|
||||
SymlinkArrow::from_arg_matches(&App::new("lsd").get_matches_from(empty_args))
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue