diff options
author | Tim Oram <dev@mitmaro.ca> | 2024-02-15 09:59:46 -0330 |
---|---|---|
committer | Tim Oram <dev@mitmaro.ca> | 2024-02-15 20:27:06 -0330 |
commit | 172cc18aadf7c30ac73bf05c46560d4e54e51e90 (patch) | |
tree | 597249189ccda5f0bf3d9fedded766c706e37305 /src/test_helpers | |
parent | 8c49085cbd27a0e6a124ea9ab63526b951e07b19 (diff) |
Create test helper for Config::new
Diffstat (limited to 'src/test_helpers')
-rw-r--r-- | src/test_helpers/create_config.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test_helpers/create_config.rs b/src/test_helpers/create_config.rs new file mode 100644 index 0000000..c4afd38 --- /dev/null +++ b/src/test_helpers/create_config.rs @@ -0,0 +1,5 @@ +use crate::config::Config; + +pub(crate) fn create_config() -> Config { + Config::new_with_config(None).unwrap() +} |