()
| 249 | |
| 250 | #[test] |
| 251 | fn test_extract_nested_json() { |
| 252 | let resp = r#"{"priority": "high", "__memory": {"last_seen": "critical ticket"}}"#; |
| 253 | let updates = extract_column_updates(resp).unwrap(); |
| 254 | assert_eq!(updates.get("priority").unwrap(), "high"); |
| 255 | assert!(updates.get("__memory").unwrap().is_object()); |
| 256 | } |
| 257 | |
| 258 | #[test] |
| 259 | fn test_extract_with_code_fence() { |
nothing calls this directly
no test coverage detected