()
| 418 | |
| 419 | #[test] |
| 420 | fn test_print_output_direct_yaml() { |
| 421 | let json_fn = || Ok(r#"{"test": true}"#.to_string()); |
| 422 | let yaml_fn = || Ok("test: true".to_string()); |
| 423 | |
| 424 | let result = print_output_direct("yaml", json_fn, yaml_fn); |
| 425 | assert!(result.is_ok()); |
| 426 | assert!(result.unwrap()); |
| 427 | } |
| 428 | |
| 429 | #[test] |
| 430 | fn test_print_output_direct_error_propagation() { |
nothing calls this directly
no test coverage detected