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

Function test_print_output_collection_table

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

Source from the content-addressed store, hash-verified

346
347 #[test]
348 fn test_print_output_collection_table() {
349 let items = vec![TestItem {
350 id: 1,
351 name: "test".to_string(),
352 }];
353
354 let result = print_output_collection("table", &items, test_item_to_json);
355 assert!(result.is_ok());
356 assert!(!result.unwrap()); // Should return false for table
357 }
358
359 #[test]
360 fn test_print_output_collection_unsupported() {

Callers

nothing calls this directly

Calls 1

print_output_collectionFunction · 0.85

Tested by

no test coverage detected