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

Function parse_wrong_columns_errors

nodedb-client/src/native/client/graph.rs:200–204  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

198
199 #[test]
200 fn parse_wrong_columns_errors() {
201 let columns = vec!["bad".to_string()];
202 let err = parse_native_graph_stats(&columns, &[]).unwrap_err();
203 assert!(err.to_string().contains("unexpected columns"));
204 }
205
206 #[test]
207 fn parse_no_columns_no_rows_returns_empty_vec() {

Callers

nothing calls this directly

Calls 1

parse_native_graph_statsFunction · 0.85

Tested by

no test coverage detected