()
| 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() { |
nothing calls this directly
no test coverage detected