Skip to content

Commit

Permalink
fix mut in tests'
Browse files Browse the repository at this point in the history
  • Loading branch information
vezenovm committed Jan 29, 2025
1 parent d7294e8 commit 346c5af
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions compiler/noirc_evaluator/src/ssa/opt/constant_folding.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1323,7 +1323,7 @@ mod test {
return v0
}
";
let mut ssa = Ssa::from_str(src).unwrap();
let ssa = Ssa::from_str(src).unwrap();
let brillig = ssa.to_brillig(false);

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

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

let expected = "
Expand Down Expand Up @@ -1407,7 +1407,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 expected = "
Expand Down Expand Up @@ -1436,7 +1436,7 @@ mod test {
return v4
}
";
let mut ssa = Ssa::from_str(src).unwrap();
let ssa = Ssa::from_str(src).unwrap();
let brillig = ssa.to_brillig(false);

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

let expected = "
Expand Down

0 comments on commit 346c5af

Please sign in to comment.