Skip to content

Commit

Permalink
chore: rename tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench committed Dec 19, 2024
1 parent c0ef309 commit efb38c6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions compiler/noirc_evaluator/src/ssa/opt/flatten_cfg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1461,7 +1461,7 @@ mod test {
}

#[test]
fn stores_if_else_numeric() {
fn eliminates_unnecessary_stores_of_numeric_types() {
let src = "
acir(inline) fn main f0 {
b0(v0: bool):
Expand Down Expand Up @@ -1501,7 +1501,7 @@ mod test {
}

#[test]
fn stores_if_else() {
fn eliminates_unnecessary_stores_of_array_types() {
let src = "
acir(inline) fn main f0 {
b0(v0: bool, v1: bool):
Expand Down Expand Up @@ -1529,7 +1529,6 @@ mod test {
.fold_constants()
.dead_instruction_elimination();

print!("{ssa}");
let expected = "
acir(inline) fn main f0 {
b0(v0: u1, v1: u1):
Expand Down

0 comments on commit efb38c6

Please sign in to comment.