diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0adb787..b365c0d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,4 +9,3 @@ repos: entry: cargo fmt --all -- --check --color always language: system pass_filenames: false - \ No newline at end of file diff --git a/tests/cli_fuzz_integration_test.rs b/tests/cli_fuzz_integration_test.rs index d2178fc..460be69 100644 --- a/tests/cli_fuzz_integration_test.rs +++ b/tests/cli_fuzz_integration_test.rs @@ -41,7 +41,7 @@ mod tests { }; with_modified_phink_config(&config, || { - instrument(Sample::Dummy); + let _ = instrument(Sample::Dummy); let mut initial_corpus_len = 0_usize; let phink_output = fuzz_output.join("phink"); @@ -129,7 +129,7 @@ mod tests { }; with_modified_phink_config(&config, || { - instrument(Sample::Dummy); + let _ = instrument(Sample::Dummy); let fuzzing = ensure_while_fuzzing(&config, Duration::from_secs(120), || { let fuzz_created = fs::metadata(fuzz_output.clone()).is_ok(); diff --git a/tests/cli_instrument_integration_test.rs b/tests/cli_instrument_integration_test.rs index 5dc5d97..5317a2f 100644 --- a/tests/cli_instrument_integration_test.rs +++ b/tests/cli_instrument_integration_test.rs @@ -37,7 +37,7 @@ mod tests { }; let test = with_modified_phink_config(&config, || { - instrument(Sample::MultiContractCaller); + let _ = instrument(Sample::MultiContractCaller); ensure!( fs::exists(path_instrumented_contract.path.clone()).is_ok(), @@ -78,7 +78,7 @@ mod tests { }; let test = with_modified_phink_config(&config, || { - instrument(Sample::MultiContractCaller); + let _ = instrument(Sample::MultiContractCaller); ensure!( fs::exists(path_instrumented_contract.path.clone()).is_ok(), @@ -132,7 +132,7 @@ mod tests { }; let test = with_modified_phink_config(&config, || { - instrument(Sample::Dummy); + let _ = instrument(Sample::Dummy); let contains_instrumented_code = find_string_in_rs_files( &path_instrumented_contract.path,