From 3ff57ed42a63eb5ac4cc6116bcfecec18d313495 Mon Sep 17 00:00:00 2001 From: Bruno Galvao Date: Thu, 21 Mar 2024 21:40:59 +0900 Subject: [PATCH] add expects --- src/engines/parachain_engine.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engines/parachain_engine.rs b/src/engines/parachain_engine.rs index cdc99bee..94c809aa 100644 --- a/src/engines/parachain_engine.rs +++ b/src/engines/parachain_engine.rs @@ -124,7 +124,7 @@ mod tests { #[test] fn test_parachain_build_after_instantiating_template() -> Result<(), Error> { - let temp_dir = setup_template_and_instantiate()?; + let temp_dir = setup_template_and_instantiate().expect(msg!("Failed to setup template and instantiate")); let build = build_parachain(&Some(temp_dir.path().to_path_buf())); assert!(build.is_ok(), "Result should be Ok"); Ok(())