mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-15 15:15:40 +00:00
15 lines
315 B
Rust
15 lines
315 B
Rust
|
#[test]
|
||
|
fn test_fd_read() {
|
||
|
assert_wasi_output!(
|
||
|
"../../wasitests/fd_read.wasm",
|
||
|
"fd_read",
|
||
|
vec![],
|
||
|
vec![(
|
||
|
".".to_string(),
|
||
|
::std::path::PathBuf::from("wasitests/test_fs/hamlet")
|
||
|
),],
|
||
|
vec![],
|
||
|
"../../wasitests/fd_read.out"
|
||
|
);
|
||
|
}
|