()
| 831 | |
| 832 | #[test] |
| 833 | fn fallback_uses_inferred_when_it_exists() { |
| 834 | // The subdomain name matches a local identity — use it directly. |
| 835 | let name = decide_identity_with_default_fallback( |
| 836 | Some("aaron"), |
| 837 | false, |
| 838 | |n| n == "aaron", |
| 839 | Some("aaron-claude".to_string()), |
| 840 | ); |
| 841 | assert_eq!(name.as_deref(), Some("aaron")); |
| 842 | } |
| 843 | |
| 844 | #[test] |
| 845 | fn fallback_to_default_when_subdomain_name_not_local() { |
nothing calls this directly
no test coverage detected