diff options
| author | a-kenji <aks.kenji@protonmail.com> | 2021-05-02 16:29:37 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-02 16:29:37 +0200 |
| commit | d6a49f683b55bc8c8a56ecdb010e094562fac5a7 (patch) | |
| tree | 57b8adf5b7b15c10cb1fc9c4fa604d7deecfb124 /src/common/input | |
| parent | Merge pull request #432 from a-kenji/update-dependencies (diff) | |
| parent | Disable Default Config Test (diff) | |
| download | sl0ppij-d6a49f683b55bc8c8a56ecdb010e094562fac5a7.tar.gz sl0ppij-d6a49f683b55bc8c8a56ecdb010e094562fac5a7.tar.xz sl0ppij-d6a49f683b55bc8c8a56ecdb010e094562fac5a7.zip | |
Merge pull request #433 from a-kenji/disable-default-config-test
Disable Default Config Test
Diffstat (limited to 'src/common/input')
| -rw-r--r-- | src/common/input/config.rs | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/common/input/config.rs b/src/common/input/config.rs index 3263b571..81c04120 100644 --- a/src/common/input/config.rs +++ b/src/common/input/config.rs @@ -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()); + //} } |
