()
| 492 | |
| 493 | #[test] |
| 494 | fn extract_origin_strips_path() { |
| 495 | assert_eq!( |
| 496 | extract_origin("https://gateway.example.com/auth/connect?foo=bar"), |
| 497 | Some("https://gateway.example.com".to_string()) |
| 498 | ); |
| 499 | } |
| 500 | |
| 501 | #[test] |
| 502 | fn extract_origin_no_scheme() { |
nothing calls this directly
no outgoing calls
no test coverage detected