diff options
| author | Henry Gressmann <mail@henrygressmann.de> | 2023-12-12 10:09:38 +0100 |
|---|---|---|
| committer | Henry Gressmann <mail@henrygressmann.de> | 2023-12-12 10:09:38 +0100 |
| commit | 97fb3cc56442c4d831ef2c9e1599cc8105ff2b96 (patch) | |
| tree | 2f62d90956cfa39490112a93d8ba9bb41c6b8577 /crates/wasm-testsuite | |
| parent | 1663131fb135abf96e4e68a5f872d5cb282ec5e5 (diff) | |
test(tinywasm): add AssertReturn to spec test harness
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
Diffstat (limited to 'crates/wasm-testsuite')
| -rw-r--r-- | crates/wasm-testsuite/README.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/wasm-testsuite/README.md b/crates/wasm-testsuite/README.md index c3dcde2..51d574c 100644 --- a/crates/wasm-testsuite/README.md +++ b/crates/wasm-testsuite/README.md @@ -7,9 +7,9 @@ This crate embeds the latest version of the [WebAssembly Test Suite](https://git ```rust use wasm_testsuite::{MVP_TESTS, get_test_wast}; -wasm_testsuite::MVP_TESTS.iter().for_each(|test| { +MVP_TESTS.iter().for_each(|test| { let wast_bytes = get_test_wast(test).expect("Failed to get wast bytes"); - let wast = std::str::from_utf8(&wast).expect("failed to convert wast to utf8"); + let wast = std::str::from_utf8(&wast_bytes).expect("failed to convert wast to utf8"); // Do something with the wast (e.g. parse it using the `wast` crate) }); |
