()
| 241 | |
| 242 | #[test] |
| 243 | fn test_partial_json_unclosed_array() { |
| 244 | let input = r#"{"items": [1, 2, 3"#; |
| 245 | let result = try_parse_partial_json(input).unwrap(); |
| 246 | assert_eq!(result["items"][0], 1); |
| 247 | assert_eq!(result["items"][2], 3); |
| 248 | } |
| 249 | |
| 250 | #[test] |
| 251 | fn test_partial_json_unclosed_string() { |
nothing calls this directly
no test coverage detected