MCPcopy Create free account
hub / github.com/dtormoen/tsk-tsk / test_squid_conf_inline_resolution

Function test_squid_conf_inline_resolution

src/context/tsk_config.rs:1873–1883  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1871
1872 #[test]
1873 fn test_squid_conf_inline_resolution() {
1874 let config = TskConfig {
1875 defaults: SharedConfig {
1876 squid_conf: Some("default-squid-conf".to_string()),
1877 ..Default::default()
1878 },
1879 ..Default::default()
1880 };
1881 let resolved = config.resolve_config("my-project", None, None);
1882 assert_eq!(resolved.squid_conf, Some("default-squid-conf".to_string()));
1883 }
1884
1885 #[test]
1886 fn test_squid_conf_path_resolution() {

Callers

nothing calls this directly

Calls 1

resolve_configMethod · 0.80

Tested by

no test coverage detected