()
| 282 | |
| 283 | #[test] |
| 284 | fn test_partial_json_nested_unclosed() { |
| 285 | let input = r#"{"user": {"name": "Bob", "tags": ["admin""#; |
| 286 | let result = try_parse_partial_json(input).unwrap(); |
| 287 | assert_eq!(result["user"]["name"], "Bob"); |
| 288 | assert_eq!(result["user"]["tags"][0], "admin"); |
| 289 | } |
| 290 | |
| 291 | // ======================================================================== |
| 292 | // Schema validation tests |
nothing calls this directly
no test coverage detected