MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / wasm_flags_without_subcommand

Function wasm_flags_without_subcommand

tests/all/cli_tests.rs:712–729  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

710
711#[test]
712fn 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]
732fn wasi_misaligned_pointer() -> Result<()> {

Callers

nothing calls this directly

Calls 4

get_wasmtime_commandFunction · 0.85
OkFunction · 0.85
outputMethod · 0.80
argMethod · 0.45

Tested by

no test coverage detected