diff options
author | Melody Horn <melody@boringcactus.com> | 2024-12-16 22:16:20 -0700 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2024-12-16 22:16:20 -0700 |
commit | 35ebe14f47d692f17ec04b7d94f4ac490b297e3e (patch) | |
tree | 0ff57084631d42a6b6d4bd2934d72321e3ae7374 /src/args.rs | |
parent | 46cbd2994ac20b5ee02072cf2fe37f3c68ca934c (diff) | |
download | makers-35ebe14f47d692f17ec04b7d94f4ac490b297e3e.tar.gz makers-35ebe14f47d692f17ec04b7d94f4ac490b297e3e.zip |
add intcmp function
Diffstat (limited to 'src/args.rs')
-rw-r--r-- | src/args.rs | 35 |
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"); } } |