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

Function parse_array_trailing_comma

nodedb-sql/src/parser/object_literal.rs:497–502  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

495
496 #[test]
497 fn parse_array_trailing_comma() {
498 let result = parse_object_literal_array("[{ a: 1 }, { b: 2 },]")
499 .unwrap()
500 .unwrap();
501 assert_eq!(result.len(), 2);
502 }
503}

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected