aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/input
diff options
context:
space:
mode:
authora-kenji <aks.kenji@protonmail.com>2021-05-10 21:21:19 +0200
committera-kenji <aks.kenji@protonmail.com>2021-05-10 21:21:19 +0200
commit5f2c5d2bda972de532fb222d7938e91580a2bcc2 (patch)
treec8d3cd29f0dabed3743c603fe2874574e9c05407 /src/common/input
parentfixup! Merge branch 'main' of https://github.com/zellij-org/zellij into simpl... (diff)
downloadsl0ppij-5f2c5d2bda972de532fb222d7938e91580a2bcc2.tar.gz
sl0ppij-5f2c5d2bda972de532fb222d7938e91580a2bcc2.tar.xz
sl0ppij-5f2c5d2bda972de532fb222d7938e91580a2bcc2.zip
!fixup Add Option for Simplified Layout
* fix test
Diffstat (limited to 'src/common/input')
-rw-r--r--src/common/input/config.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/common/input/config.rs b/src/common/input/config.rs
index 019d1c4c..5f2656f3 100644
--- a/src/common/input/config.rs
+++ b/src/common/input/config.rs
@@ -178,7 +178,10 @@ mod config_test {
#[test]
fn try_from_cli_args_with_option_clean() {
let mut opts = CliArgs::default();
- opts.option = Some(ConfigCli::Config { clean: true });
+ opts.option = Some(ConfigCli::Setup {
+ clean: true,
+ dump_config: false,
+ });
let result = Config::try_from(&opts);
assert!(result.is_ok());
}