Skip to content

Commit 37c76c9

Browse files
committed
cargo fmt
1 parent ee0ab94 commit 37c76c9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/tests/test_validation_criteria.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -435,8 +435,10 @@ mod proof_validation {
435435
ComposedWitness::Simple(vec![wrong_y]),
436436
]);
437437
let proof_result = nizk.prove_batchable(&witness_wrong, &mut rng);
438-
assert!(proof_result.is_err(), "Proof should fail with invalid witnesses");
439-
438+
assert!(
439+
proof_result.is_err(),
440+
"Proof should fail with invalid witnesses"
441+
);
440442

441443
// Create a correct witness for both branches
442444
let witness_correct = ComposedWitness::Or(vec![
@@ -448,6 +450,5 @@ mod proof_validation {
448450
nizk.verify_batchable(&proof).is_ok(),
449451
"Prover fails when all witnesses in an OR proof are valid"
450452
);
451-
452453
}
453454
}

0 commit comments

Comments
 (0)