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

Function test_extract_null_value

src/http.rs:266–271  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

264
265 #[test]
266 fn test_extract_null_value() {
267 let resp = r#"{"notes": null, "priority": "low"}"#;
268 let updates = extract_column_updates(resp).unwrap();
269 assert!(updates.get("notes").unwrap().is_null());
270 assert_eq!(updates.get("priority").unwrap(), "low");
271 }
272
273 #[test]
274 fn test_extract_numeric_value() {

Callers

nothing calls this directly

Calls 1

extract_column_updatesFunction · 0.85

Tested by

no test coverage detected