diff --git a/halo2_gadgets/src/ecc.rs b/halo2_gadgets/src/ecc.rs index 58b9acc4e..879ac803a 100644 --- a/halo2_gadgets/src/ecc.rs +++ b/halo2_gadgets/src/ecc.rs @@ -596,9 +596,7 @@ pub(crate) mod tests { FixedPoints, }; use crate::{ - tests::test_utils::{ - test_against_stored_vk, test_against_stored_proof, - }, + tests::test_utils::{test_against_stored_proof, test_against_stored_vk}, utilities::lookup_range_check::{LookupRangeCheck, PallasLookupRC10b}, }; diff --git a/halo2_gadgets/src/sinsemilla.rs b/halo2_gadgets/src/sinsemilla.rs index d3ab13312..299c16bdd 100644 --- a/halo2_gadgets/src/sinsemilla.rs +++ b/halo2_gadgets/src/sinsemilla.rs @@ -472,9 +472,7 @@ pub(crate) mod tests { NonIdentityPoint, ScalarFixed, }, sinsemilla::primitives::{self as sinsemilla, K}, - tests::test_utils::{ - test_against_stored_vk, test_against_stored_proof, - }, + tests::test_utils::{test_against_stored_proof, test_against_stored_vk}, utilities::lookup_range_check::{LookupRangeCheck, PallasLookupRC10b}, }; diff --git a/halo2_gadgets/src/sinsemilla/merkle.rs b/halo2_gadgets/src/sinsemilla/merkle.rs index 32be00e0d..05130b878 100644 --- a/halo2_gadgets/src/sinsemilla/merkle.rs +++ b/halo2_gadgets/src/sinsemilla/merkle.rs @@ -184,9 +184,7 @@ pub mod tests { tests::{TestCommitDomain, TestHashDomain}, HashDomains, }, - tests::test_utils::{ - test_against_stored_vk, test_against_stored_proof, - }, + tests::test_utils::{test_against_stored_proof, test_against_stored_vk}, utilities::{ i2lebsp, lookup_range_check::{LookupRangeCheck, PallasLookupRC10b}, diff --git a/halo2_gadgets/src/tests/test_utils.rs b/halo2_gadgets/src/tests/test_utils.rs index 8f23eefbe..9dfbf5908 100644 --- a/halo2_gadgets/src/tests/test_utils.rs +++ b/halo2_gadgets/src/tests/test_utils.rs @@ -69,10 +69,7 @@ impl Proof { } /// Test the generated vk against the stored vk. -pub(crate) fn test_against_stored_vk>( - circuit: &C, - circuit_name: &str, -) { +pub(crate) fn test_against_stored_vk>(circuit: &C, circuit_name: &str) { let full_file_name = Path::new(TEST_DATA_DIR) .join(format!("vk_{circuit_name}")) .with_extension("rdata"); @@ -112,10 +109,7 @@ fn conditionally_save_proof_to_disk>( } /// Test the generated circuit against the stored proof. -pub(crate) fn test_against_stored_proof>( - circuit: C, - circuit_name: &str, -) { +pub(crate) fn test_against_stored_proof>(circuit: C, circuit_name: &str) { let full_file_name = Path::new(TEST_DATA_DIR) .join(format!("proof_{circuit_name}")) .with_extension("bin"); diff --git a/halo2_gadgets/src/utilities/lookup_range_check.rs b/halo2_gadgets/src/utilities/lookup_range_check.rs index 0344d3873..bc0db3518 100644 --- a/halo2_gadgets/src/utilities/lookup_range_check.rs +++ b/halo2_gadgets/src/utilities/lookup_range_check.rs @@ -471,9 +471,7 @@ mod tests { }; use pasta_curves::pallas; - use crate::tests::test_utils::{ - test_against_stored_vk, test_against_stored_proof, - }; + use crate::tests::test_utils::{test_against_stored_proof, test_against_stored_vk}; use std::{convert::TryInto, marker::PhantomData}; #[test]