()
| 226 | |
| 227 | #[test] |
| 228 | fn test_partial_json_complete() { |
| 229 | let input = r#"{"name": "Alice", "age": 30}"#; |
| 230 | let result = try_parse_partial_json(input).unwrap(); |
| 231 | assert_eq!(result["name"], "Alice"); |
| 232 | } |
| 233 | |
| 234 | #[test] |
| 235 | fn test_partial_json_unclosed_object() { |
nothing calls this directly
no test coverage detected