()
| 464 | |
| 465 | #[test] |
| 466 | fn test_parse_www_authenticate() { |
| 467 | let (realm, service) = parse_www_authenticate( |
| 468 | r#"Bearer realm="https://auth.docker.io/token",service="registry.docker.io""#, |
| 469 | ); |
| 470 | assert_eq!(realm, "https://auth.docker.io/token"); |
| 471 | assert_eq!(service, "registry.docker.io"); |
| 472 | } |
| 473 | } |
nothing calls this directly
no test coverage detected