Skip to content

Commit

Permalink
test(wasi) Update get_wasi_version signature.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hywan committed Dec 6, 2019
1 parent 72c8b66 commit 8aa49f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/wasi-tests/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ fn serializing_works() {
.map_err(|e| format!("Can't compile module: {:?}", e))
.unwrap();

let wasi_version = get_wasi_version(&module).expect("WASI module");
let wasi_version = get_wasi_version(&module, true).expect("WASI module");
let import_object = generate_import_object_for_version(
wasi_version,
args.clone(),
Expand Down
2 changes: 1 addition & 1 deletion lib/wasi-tests/tests/wasitests/_common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ macro_rules! assert_wasi_output {

let module = wasmer_runtime::compile(&wasm_bytes[..]).expect("WASM can't be compiled");

let wasi_version = get_wasi_version(&module).expect("WASI module");
let wasi_version = get_wasi_version(&module, true).expect("WASI module");

let import_object = generate_import_object_for_version(
wasi_version,
Expand Down

0 comments on commit 8aa49f5

Please sign in to comment.