()
| 1318 | |
| 1319 | #[test] |
| 1320 | fn p2_cli_exit_failure() -> Result<()> { |
| 1321 | let output = get_wasmtime_command()? |
| 1322 | .args(&["run", "-Wcomponent-model", P2_CLI_EXIT_FAILURE_COMPONENT]) |
| 1323 | .output()?; |
| 1324 | assert!(!output.status.success()); |
| 1325 | assert_eq!(output.status.code(), Some(1)); |
| 1326 | Ok(()) |
| 1327 | } |
| 1328 | |
| 1329 | #[test] |
| 1330 | fn p2_cli_exit_with_code() -> Result<()> { |
nothing calls this directly
no test coverage detected