We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b443c05 commit 8dc3730Copy full SHA for 8dc3730
tooling/nargo_cli/src/cli/compile_cmd.rs
@@ -383,10 +383,10 @@ mod tests {
383
let program = nargo::ops::transform_program(program, ExpressionWidth::default());
384
let program_hash_1 = fxhash::hash64(&program);
385
386
- let program_hash_2 = fxhash::hash64(&program);
+ let program_hash_2 = fxhash::hash64(&program) + 1;
387
388
- assert_eq!(
389
- program_hash_1, program_hash_2,
+ assert!(
+ program_hash_1 == program_hash_2,
390
"optimization not idempotent for test program '{}'",
391
package.name
392
);
0 commit comments