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

Function run_just_stdin_argument

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

Source from the content-addressed store, hash-verified

700#[test]
701#[cfg(unix)]
702fn run_just_stdin_argument() -> Result<()> {
703 let output = get_wasmtime_command()?
704 .arg("-")
705 .stdin(File::open("tests/all/cli_tests/simple.wat")?)
706 .output()?;
707 assert!(output.status.success());
708 Ok(())
709}
710
711#[test]
712fn wasm_flags_without_subcommand() -> Result<()> {

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected