()
| 710 | |
| 711 | #[test] |
| 712 | fn wasm_flags_without_subcommand() -> Result<()> { |
| 713 | let output = get_wasmtime_command()? |
| 714 | .current_dir("tests/all/cli_tests/") |
| 715 | .arg("print-arguments.wat") |
| 716 | .arg("-foo") |
| 717 | .arg("bar") |
| 718 | .output()?; |
| 719 | assert!(output.status.success()); |
| 720 | assert_eq!( |
| 721 | String::from_utf8_lossy(&output.stdout), |
| 722 | "\ |
| 723 | print-arguments.wat\n\ |
| 724 | -foo\n\ |
| 725 | bar\n\ |
| 726 | " |
| 727 | ); |
| 728 | Ok(()) |
| 729 | } |
| 730 | |
| 731 | #[test] |
| 732 | fn wasi_misaligned_pointer() -> Result<()> { |
nothing calls this directly
no test coverage detected