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

Function test_item_to_json

crates/openshell-cli/src/output.rs:309–314  ·  view source on GitHub ↗
(item: &TestItem)

Source from the content-addressed store, hash-verified

307 }
308
309 fn test_item_to_json(item: &TestItem) -> serde_json::Value {
310 serde_json::json!({
311 "id": item.id,
312 "name": item.name,
313 })
314 }
315
316 #[test]
317 fn test_print_output_collection_json() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected