Skip to content

Commit

Permalink
chore: another try for codecov warning
Browse files Browse the repository at this point in the history
  • Loading branch information
guorong009 committed Aug 6, 2024
1 parent 5d6bfdb commit c1e35f7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion halo2_frontend/src/dev/gates.rs
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,8 @@ mod tests {
impl Circuit<Fp> for TestCircuit {
type Config = TestCircuitConfig;
type FloorPlanner = SimpleFloorPlanner;
#[cfg(feature = "circuit-params")]
type Params = ();

fn configure(meta: &mut ConstraintSystem<Fp>) -> Self::Config {
let a = meta.advice_column();
Expand Down Expand Up @@ -369,7 +371,10 @@ mod tests {
}
}

let gates = CircuitGates::collect::<Fp, TestCircuit>();
let gates = CircuitGates::collect::<Fp, TestCircuit>(
#[cfg(feature = "circuit-params")]
(),
);
assert_eq!(
format!("{}", gates),
r#####"Equality check:
Expand Down

0 comments on commit c1e35f7

Please sign in to comment.