(output: &Output, command: &str)
| 15 | } |
| 16 | |
| 17 | fn assert_success(output: &Output, command: &str) { |
| 18 | assert!( |
| 19 | output.status.success(), |
| 20 | "`{command}` failed with {}\nstdout:\n{}\nstderr:\n{}", |
| 21 | output.status, |
| 22 | String::from_utf8_lossy(&output.stdout), |
| 23 | String::from_utf8_lossy(&output.stderr), |
| 24 | ); |
| 25 | } |
| 26 | |
| 27 | #[test] |
| 28 | fn operation_log_and_show_inspect_a_real_switch_operation() { |
no outgoing calls
no test coverage detected