diff options
Diffstat (limited to 'src/features/mod.rs')
-rw-r--r-- | src/features/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/features/mod.rs b/src/features/mod.rs index 1fe20910..8b169fcd 100644 --- a/src/features/mod.rs +++ b/src/features/mod.rs @@ -102,7 +102,7 @@ pub mod tests { let builtin_features = make_builtin_features(); let mut args = vec!["delta".to_string()]; args.extend(builtin_features.keys().map(|s| format!("--{}", s))); - let opt = cli::Opt::from_iter_and_git_config(args, &mut None); + let opt = cli::Opt::from_iter_and_git_config(args, None); let features: HashSet<&str> = opt.features.split_whitespace().collect(); for feature in builtin_features.keys() { assert!(features.contains(feature.as_str())) |