aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2024-11-15 19:42:30 -0700
committerMelody Horn <melody@boringcactus.com>2024-11-15 19:42:30 -0700
commitb038e98d34a8473eb78697a4d20314c39d1c87db (patch)
treecf59b003ba78c6ed6935a61ac5d7d6d49a76be0a
parent07868b0a77d2425a597c10099abc150d4a3f1edf (diff)
downloadmakers-b038e98d34a8473eb78697a4d20314c39d1c87db.tar.gz
makers-b038e98d34a8473eb78697a4d20314c39d1c87db.zip
fix no default features
-rw-r--r--src/args.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/args.rs b/src/args.rs
index 9044802..c55dabc 100644
--- a/src/args.rs
+++ b/src/args.rs
@@ -288,7 +288,7 @@ mod test {
#[test]
fn kitchen_sink_args() {
- let args = "makers -eiknpqrstwf foo -f bruh bar baz=yeet";
+ let args = "makers -eiknpqrstf foo -f bruh bar baz=yeet";
let args = Args::from_given_args_and_given_env(
args.split_whitespace().map(OsString::from),
String::new(),
@@ -383,6 +383,7 @@ mod test {
}
#[test]
+ #[cfg(feature = "full")]
fn print_directory_wrestling() {
let args = "makers -w --no-print-directory -w -w --no-print-directory --no-print-directory -w --no-print-directory";
let args = Args::from_given_args_and_given_env(