()
| 396 | |
| 397 | #[test] |
| 398 | fn test_print_output_single_yaml() { |
| 399 | let item = TestItem { |
| 400 | id: 42, |
| 401 | name: "single".to_string(), |
| 402 | }; |
| 403 | |
| 404 | let result = print_output_single("yaml", &item, test_item_to_json); |
| 405 | assert!(result.is_ok()); |
| 406 | assert!(result.unwrap()); |
| 407 | } |
| 408 | |
| 409 | #[test] |
| 410 | fn test_print_output_direct_json() { |
nothing calls this directly
no test coverage detected