()
| 1931 | |
| 1932 | #[test] |
| 1933 | fn test_resolved_config_proxy_config() { |
| 1934 | let resolved = ResolvedConfig { |
| 1935 | host_ports: vec![5432, 6379], |
| 1936 | squid_conf: Some("custom-conf".to_string()), |
| 1937 | ..Default::default() |
| 1938 | }; |
| 1939 | let proxy = resolved.proxy_config(); |
| 1940 | assert_eq!(proxy.host_ports, vec![5432, 6379]); |
| 1941 | assert_eq!(proxy.squid_conf, Some("custom-conf".to_string())); |
| 1942 | } |
| 1943 | |
| 1944 | #[test] |
| 1945 | fn test_squid_conf_project_overrides_defaults() { |
nothing calls this directly
no test coverage detected