()
| 249 | |
| 250 | #[test] |
| 251 | fn test_partial_json_unclosed_string() { |
| 252 | let input = r#"{"name": "Ali"#; |
| 253 | let result = try_parse_partial_json(input).unwrap(); |
| 254 | assert_eq!(result["name"], "Ali"); |
| 255 | } |
| 256 | |
| 257 | #[test] |
| 258 | fn test_partial_json_trailing_comma() { |
nothing calls this directly
no test coverage detected