Merge pull request #433 from a-kenji/disable-default-config-test
Disable Default Config Test
This commit is contained in:
commit
d6a49f683b
1 changed files with 8 additions and 6 deletions
|
|
@ -199,10 +199,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…
Add table
Reference in a new issue