wasmer/lib/wasi-tests/tests/wasitests/envvar.rs

11 lines
228 B
Rust
Raw Normal View History

#[test]
fn test_envvar() {
assert_wasi_output!(
"../../wasitests/envvar.wasm",
"envvar",
vec![],
2019-07-16 20:49:45 +00:00
vec!["DOG=1".to_string(), "CAT=2".to_string(),],
"../../wasitests/envvar.out"
);
}