add expect to call entrypoint in wasi tests

This commit is contained in:
Mark McCaskey 2019-05-20 13:55:29 -07:00
parent 7a4b47d651
commit d7d17bd647

View File

@ -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);