Skip to content

Commit

Permalink
more fmt in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vezenovm committed Jan 29, 2025
1 parent 346c5af commit 24c6f13
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions compiler/noirc_evaluator/src/acir/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3328,7 +3328,7 @@ mod test {
build_basic_foo_with_return(&mut builder, foo_id, true, InlineType::default());
build_basic_foo_with_return(&mut builder, bar_id, true, InlineType::default());

let mut ssa = builder.finish();
let ssa = builder.finish();
let brillig = ssa.to_brillig(false);

let (acir_functions, brillig_functions, _, _) = ssa
Expand Down Expand Up @@ -3466,7 +3466,7 @@ mod test {

build_basic_foo_with_return(&mut builder, foo_id, true, InlineType::default());

let mut ssa = builder.finish();
let ssa = builder.finish();
// We need to generate Brillig artifacts for the regular Brillig function and pass them to the ACIR generation pass.
let brillig = ssa.to_brillig(false);
println!("{}", ssa);
Expand Down Expand Up @@ -3555,7 +3555,7 @@ mod test {
// Build an ACIR function which has the same logic as the Brillig function above
build_basic_foo_with_return(&mut builder, bar_id, false, InlineType::Fold);

let mut ssa = builder.finish();
let ssa = builder.finish();
// We need to generate Brillig artifacts for the regular Brillig function and pass them to the ACIR generation pass.
let brillig = ssa.to_brillig(false);
println!("{}", ssa);
Expand Down Expand Up @@ -3673,7 +3673,7 @@ mod test {
return v3
}
";
let mut ssa = Ssa::from_str(src).unwrap();
let ssa = Ssa::from_str(src).unwrap();
let brillig = ssa.to_brillig(false);

let (mut acir_functions, _brillig_functions, _, _) = ssa
Expand Down Expand Up @@ -3711,7 +3711,7 @@ mod test {
return
}
";
let mut ssa = Ssa::from_str(src).unwrap();
let ssa = Ssa::from_str(src).unwrap();
let brillig = ssa.to_brillig(false);

let (acir_functions, _brillig_functions, _, _) = ssa
Expand Down

0 comments on commit 24c6f13

Please sign in to comment.