Skip to content

Commit

Permalink
add expect to call entrypoint in wasi tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark McCaskey committed May 20, 2019
1 parent 7a4b47d commit d7d17bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/wasi/tests/wasitests/_common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ macro_rules! assert_wasi_output {
.map_err(|e| format!("{:?}", e))
.expect("start function in wasi module");

let _result = start.call();
start.call().expect("execute the wasm");

let output = capturer.end().unwrap().0;
let expected_output = include_str!($expected);
Expand Down

0 comments on commit d7d17bd

Please sign in to comment.