Skip to content

Commit

Permalink
Don't include the hash in the panic
Browse files Browse the repository at this point in the history
  • Loading branch information
aakoshh committed Dec 3, 2024
1 parent b443c05 commit d5ae0b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tooling/nargo_cli/src/cli/compile_cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,8 @@ mod tests {
let program = nargo::ops::transform_program(program, ExpressionWidth::default());
let program_hash_2 = fxhash::hash64(&program);

assert_eq!(
program_hash_1, program_hash_2,
assert!(
program_hash_1 == program_hash_2,
"optimization not idempotent for test program '{}'",
package.name
);
Expand Down

0 comments on commit d5ae0b1

Please sign in to comment.