()
| 1235 | |
| 1236 | #[test] |
| 1237 | fn test_extract_default_identity() { |
| 1238 | let config = r#" |
| 1239 | default_identity = "ABCDEF1234567890" |
| 1240 | version = 1 |
| 1241 | |
| 1242 | [default_by_usage] |
| 1243 | "#; |
| 1244 | assert_eq!( |
| 1245 | extract_default_identity_from_config(config), |
| 1246 | Some("ABCDEF1234567890".to_string()) |
| 1247 | ); |
| 1248 | } |
| 1249 | |
| 1250 | #[test] |
| 1251 | fn test_extract_default_identity_empty_config() { |
nothing calls this directly
no outgoing calls
no test coverage detected