MCPcopy Create free account
hub / github.com/calebwin/pgclaw / test_extract_simple_json

Function test_extract_simple_json

src/http.rs:216–220  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

214
215 #[test]
216 fn test_extract_simple_json() {
217 let resp = r#"{"priority": "high"}"#;
218 let updates = extract_column_updates(resp).unwrap();
219 assert_eq!(updates.get("priority").unwrap(), "high");
220 }
221
222 #[test]
223 fn test_extract_multiple_columns() {

Callers

nothing calls this directly

Calls 1

extract_column_updatesFunction · 0.85

Tested by

no test coverage detected