From 81b673f9081db85223e5e89b053c56d0fe9c977d Mon Sep 17 00:00:00 2001 From: Jakub Konka Date: Mon, 24 Jun 2019 22:55:15 +0200 Subject: [PATCH] Fix typos --- test-all.bat | 4 ++-- tests/runtime/mod.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test-all.bat b/test-all.bat index 97ea8a340f..3fc8ca8374 100644 --- a/test-all.bat +++ b/test-all.bat @@ -26,7 +26,7 @@ cmd /c cargo build --release || goto error call :banner Debug build cmd /c cargo build || goto error -call :banner Rust unit tests +call :banner Rust unit and integration tests set RUST_BACKTRACE=1 cmd /c cargo test --all || goto error @@ -43,4 +43,4 @@ echo ===== %* ===== exit /b 0 :error -exit /b 1 \ No newline at end of file +exit /b 1 diff --git a/tests/runtime/mod.rs b/tests/runtime/mod.rs index 6dc0576818..221203de41 100644 --- a/tests/runtime/mod.rs +++ b/tests/runtime/mod.rs @@ -42,7 +42,7 @@ pub fn instantiate>( &[bin_name.as_ref().to_owned(), ".".to_owned()], &[], ) - .expect("instantiating wasi"), + .map_err(|e| format!("error instantiating WASI: {}", e))?, ); // Compile and instantiating a wasm module.