Skip to content

Commit

Permalink
chore: Reverse ssa parser diff order (#6511)
Browse files Browse the repository at this point in the history
  • Loading branch information
jfecher authored Nov 14, 2024
1 parent 0fc0c53 commit 78e7848
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/noirc_evaluator/src/ssa/opt/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ pub(crate) fn assert_normalized_ssa_equals(mut ssa: super::Ssa, expected: &str)
let expected = trim_leading_whitespace_from_lines(expected);

if ssa != expected {
println!("Got:\n~~~\n{}\n~~~\nExpected:\n~~~\n{}\n~~~", ssa, expected);
similar_asserts::assert_eq!(ssa, expected);
println!("Expected:\n~~~\n{expected}\n~~~\nGot:\n~~~\n{ssa}\n~~~");
similar_asserts::assert_eq!(expected, ssa);
}
}

0 comments on commit 78e7848

Please sign in to comment.