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

Function test_print_output_collection_yaml

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

Source from the content-addressed store, hash-verified

334
335 #[test]
336 fn test_print_output_collection_yaml() {
337 let items = vec![TestItem {
338 id: 1,
339 name: "test".to_string(),
340 }];
341
342 let result = print_output_collection("yaml", &items, test_item_to_json);
343 assert!(result.is_ok());
344 assert!(result.unwrap());
345 }
346
347 #[test]
348 fn test_print_output_collection_table() {

Callers

nothing calls this directly

Calls 1

print_output_collectionFunction · 0.85

Tested by

no test coverage detected