()
| 384 | |
| 385 | #[test] |
| 386 | fn test_print_output_single_json() { |
| 387 | let item = TestItem { |
| 388 | id: 42, |
| 389 | name: "single".to_string(), |
| 390 | }; |
| 391 | |
| 392 | let result = print_output_single("json", &item, test_item_to_json); |
| 393 | assert!(result.is_ok()); |
| 394 | assert!(result.unwrap()); |
| 395 | } |
| 396 | |
| 397 | #[test] |
| 398 | fn test_print_output_single_yaml() { |
nothing calls this directly
no test coverage detected