Skip to content

Commit

Permalink
Merge pull request #373 from axiomatic-aardvark/main
Browse files Browse the repository at this point in the history
Fix clippy warnings.
  • Loading branch information
georg-getz authored Sep 1, 2022
2 parents f2926e4 + ddf720d commit fe56188
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/context/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -597,13 +597,13 @@ impl<C: Blockchain> MatchstickInstanceContext<C> {

Ok(return_val)
} else {
return Err(anyhow!(
Err(anyhow!(
"Could not find a mocked function with the following parameters, address: {}, name: {}, signature {}, params: {:?}.",
&contract_address,
&fn_name,
&fn_signature,
&fn_args
).into());
).into())
}
}

Expand Down
4 changes: 2 additions & 2 deletions src/integration_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ mod integration_tests {
Test::call_hooks(&test_suite.before_all);

for group in &test_suite.testables {
run_testable(&group, &mut failed_tests);
run_testable(group, &mut failed_tests);
}

assert_eq!(failed_tests, Box::new(0));
Expand All @@ -34,7 +34,7 @@ mod integration_tests {

Test::call_hooks(&test_suite.before_all);
for testable in &test_suite.testables {
run_testable(&testable, &mut failed_tests);
run_testable(testable, &mut failed_tests);
}

assert_eq!(failed_tests, Box::new(0));
Expand Down

0 comments on commit fe56188

Please sign in to comment.