mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-15 15:15:40 +00:00
21 lines
504 B
Rust
21 lines
504 B
Rust
#[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")
|
|
),
|
|
],
|
|
vec![],
|
|
"../../wasitests/poll_oneoff.out"
|
|
);
|
|
}
|