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

Function parse_wrong_columns_errors

nodedb-client/src/remote/client/graph.rs:294–298  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

292
293 #[test]
294 fn parse_wrong_columns_errors() {
295 let columns = vec!["id".to_string(), "count".to_string()];
296 let err = parse_graph_stats_response(&columns, &[]).unwrap_err();
297 assert!(err.to_string().contains("unexpected columns"));
298 }
299
300 #[test]
301 fn parse_no_columns_no_rows_returns_empty_vec() {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected