()
| 331 | |
| 332 | #[test] |
| 333 | fn normalizes_and_deduplicates() { |
| 334 | let input = vec![ |
| 335 | "OpenAI_Chat_Completions".to_string(), |
| 336 | " openai_chat_completions ".to_string(), |
| 337 | "anthropic_messages".to_string(), |
| 338 | ]; |
| 339 | let result = normalize_protocols(&input); |
| 340 | assert_eq!( |
| 341 | result, |
| 342 | vec!["openai_chat_completions", "anthropic_messages"] |
| 343 | ); |
| 344 | } |
| 345 | |
| 346 | #[test] |
| 347 | fn skips_empty_and_whitespace() { |
nothing calls this directly
no test coverage detected