aboutsummaryrefslogtreecommitdiff
path: root/src/args.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/args.rs')
-rw-r--r--src/args.rs35
1 files changed, 17 insertions, 18 deletions
diff --git a/src/args.rs b/src/args.rs
index 40f591f..57ac84c 100644
--- a/src/args.rs
+++ b/src/args.rs
@@ -540,24 +540,23 @@ mod test {
#[cfg(feature = "full")]
#[test]
fn makeflags_no_print_directory() {
- let args =
- Args {
- environment_overrides: false,
- makefile: vec![],
- ignore_errors: false,
- keep_going: false,
- dry_run: false,
- print_everything: false,
- question: false,
- no_builtin_rules: false,
- no_keep_going: false,
- silent: false,
- touch: false,
- directory: None,
- print_directory: false,
- no_print_directory: true,
- targets_or_macros: vec!["V=1".into()],
- };
+ let args = Args {
+ environment_overrides: false,
+ makefile: vec![],
+ ignore_errors: false,
+ keep_going: false,
+ dry_run: false,
+ print_everything: false,
+ question: false,
+ no_builtin_rules: false,
+ no_keep_going: false,
+ silent: false,
+ touch: false,
+ directory: None,
+ print_directory: false,
+ no_print_directory: true,
+ targets_or_macros: vec!["V=1".into()],
+ };
assert_eq!(args.makeflags(), "--no-print-directory V=1");
}
}