MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / decode_empty_payload

Function decode_empty_payload

nodedb/src/event/alert/executor.rs:331–334  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

329
330 #[test]
331 fn decode_empty_payload() {
332 let result = decode_aggregate_response(&[], &[], "avg").unwrap();
333 assert!(result.is_empty());
334 }
335
336 #[test]
337 fn decode_grouped_response() {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected