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

25 lines
654 B
Rust
Raw Normal View History

// !!! THIS IS A GENERATED FILE !!!
// ANY MANUAL EDITS MAY BE OVERWRITTEN AT ANY TIME
// Files autogenerated with cargo build (build/wasitests.rs).
2019-08-15 04:13:20 +00:00
#[test]
fn test_poll_oneoff() {
assert_wasi_output!(
"../../wasitests/poll_oneoff.wasm",
"poll_oneoff",
vec![],
vec![
(
"hamlet".to_string(),
::std::path::PathBuf::from("wasitests/test_fs/hamlet")
),
(
"temp".to_string(),
::std::path::PathBuf::from("wasitests/test_fs/temp")
),
],
2019-08-15 04:13:20 +00:00
vec![],
"../../wasitests/poll_oneoff.out"
);
}