From 5026721b8e9f195c361c70aa875d9d41b7baf8a2 Mon Sep 17 00:00:00 2001 From: Vitor Enes Date: Thu, 4 Feb 2021 09:09:47 +0100 Subject: [PATCH] Minimize diff --- modules/tests/model_based.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/tests/model_based.rs b/modules/tests/model_based.rs index 3d2d7852ed..f4213fffaa 100644 --- a/modules/tests/model_based.rs +++ b/modules/tests/model_based.rs @@ -299,10 +299,10 @@ fn main() { for test in tests { let path = format!("{}/{}.json", TESTS_DIR, test); - let test_executor = ICS02TestExecutor::new(); + let executor = ICS02TestExecutor::new(); // we should be able to just return the `Result` once the following issue // is fixed: https://github.com/rust-lang/rust/issues/43301 - if let Err(e) = modelator::test_driver(test_executor, path) { + if let Err(e) = modelator::test_driver(executor, path) { panic!("{:?}", e); } }