Full support for secret injection into configuration files

This commit is contained in:
2025-09-10 20:53:10 -06:00
parent 8ae9b19567
commit 17eba4413d
13 changed files with 647 additions and 377 deletions
-1
View File
@@ -1,6 +1,5 @@
use gman::providers::local::LocalProviderConfig;
#[test]
fn test_local_provider_config_default() {
let config = LocalProviderConfig::default();
+2 -5
View File
@@ -1,5 +1,5 @@
use gman::providers::{ParseProviderError, SupportedProvider};
use gman::providers::local::LocalProvider;
use gman::providers::{ParseProviderError, SupportedProvider};
use std::str::FromStr;
#[test]
@@ -17,10 +17,7 @@ fn test_supported_provider_from_str_valid() {
#[test]
fn test_supported_provider_from_str_invalid() {
let err = SupportedProvider::from_str("invalid").unwrap_err();
assert_eq!(
err.to_string(),
"unsupported provider 'invalid'"
);
assert_eq!(err.to_string(), "unsupported provider 'invalid'");
}
#[test]