mirror of
https://github.com/zellij-org/zellij.git
synced 2024-12-28 11:42:41 +03:00
Disable Default Config Test
For now, it fails if there is a local config, differing from the default config.
This commit is contained in:
parent
98d9eacd22
commit
c193a0571c
@ -196,10 +196,12 @@ mod config_test {
|
||||
assert_eq!(result.unwrap(), Config::default());
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn try_from_cli_args_default() {
|
||||
let opts = CliArgs::default();
|
||||
let result = Config::try_from(&opts);
|
||||
assert_eq!(result.unwrap(), Config::default());
|
||||
}
|
||||
// This test needs a split somewhere between test and normal runs,
|
||||
// since otherwise it would look in a local configuration and fail.
|
||||
//#[test]
|
||||
//fn try_from_cli_args_default() {
|
||||
//let opts = CliArgs::default();
|
||||
//let result = Config::try_from(&opts);
|
||||
//assert_eq!(result.unwrap(), Config::default());
|
||||
//}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user