(expected: i32, wat: &str)
| 180 | } |
| 181 | |
| 182 | async fn wizen_and_run_wat(expected: i32, wat: &str) -> Result<()> { |
| 183 | let wasm = wat::parse_str(wat)?; |
| 184 | let wasm = wizen(&wasm).await?; |
| 185 | run_wasm(0, expected, &wasm).await |
| 186 | } |
| 187 | async fn run_wasm(input: i32, expected: i32, wasm: &[u8]) -> Result<()> { |
| 188 | let mut store = store()?; |
| 189 | let module = |
no test coverage detected