Skip to content

Commit

Permalink
Minimize diff
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorenesduarte committed Feb 4, 2021
1 parent 7755fec commit 5026721
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/tests/model_based.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit 5026721

Please sign in to comment.