()
| 1120 | |
| 1121 | #[test] |
| 1122 | fn userinfo_beats_configured_server() { |
| 1123 | // An explicit user in the URL is a stronger, per-invocation signal. |
| 1124 | let url = "https://bob@aaron.atomic.storage/workspaces/w/projects/p/code"; |
| 1125 | assert_eq!( |
| 1126 | resolve_identity_from_url(url, &servers()).as_deref(), |
| 1127 | Some("bob") |
| 1128 | ); |
| 1129 | } |
| 1130 | |
| 1131 | #[test] |
| 1132 | fn falls_back_to_subdomain_when_no_server_matches() { |
nothing calls this directly
no outgoing calls
no test coverage detected