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

15 lines
332 B
Rust
Raw Normal View History

2019-08-09 06:40:04 +00:00
#[test]
fn test_path_rename() {
assert_wasi_output!(
"../../wasitests/path_rename.wasm",
"path_rename",
vec![],
vec![(
"temp".to_string(),
::std::path::PathBuf::from("wasitests/test_fs/temp")
),],
vec![],
"../../wasitests/path_rename.out"
);
}