MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / test_print_output_collection_empty

Function test_print_output_collection_empty

crates/openshell-cli/src/output.rs:377–383  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

375
376 #[test]
377 fn test_print_output_collection_empty() {
378 let items: Vec<TestItem> = vec![];
379
380 let result = print_output_collection("json", &items, test_item_to_json);
381 assert!(result.is_ok());
382 assert!(result.unwrap());
383 }
384
385 #[test]
386 fn test_print_output_single_json() {

Callers

nothing calls this directly

Calls 1

print_output_collectionFunction · 0.85

Tested by

no test coverage detected