wasmer/lib/wasi-tests/tests/wasitests/path_rename.rs
2019-08-09 15:40:04 +09:00

15 lines
332 B
Rust

#[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"
);
}