(#[case] input: &str)
| 193 | // 5 leading zeroes in first byte. |
| 194 | #[case(r"\370\237\214\240")] |
| 195 | fn test_decode_utf8_chars_invalid_escape(#[case] input: &str) { |
| 196 | let input = input.to_string(); |
| 197 | let result = decode_utf8_chars(&mut input.as_str()); |
| 198 | assert!(result.is_err()); |
| 199 | } |
| 200 | } |
nothing calls this directly
no test coverage detected