File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ pub(crate) mod test_helpers {
139
139
acc. iter ( ) . for_each ( |cmt| {
140
140
// Testing that verification against other commitments
141
141
// returns `false`
142
- assert ! ( ! cmt. verify( msg) . is_ok ( ) ) ;
142
+ assert ! ( cmt. verify( msg) . is_err ( ) ) ;
143
143
} ) ;
144
144
145
145
// Detecting collision
Original file line number Diff line number Diff line change @@ -240,7 +240,7 @@ pub(crate) mod test_helpers {
240
240
acc. iter ( ) . for_each ( |cmt| {
241
241
// Testing that verification against other commitments
242
242
// returns `false`
243
- assert ! ( ! cmt. clone( ) . verify( msg, & proof) . is_ok ( ) ) ;
243
+ assert ! ( cmt. clone( ) . verify( msg, & proof) . is_err ( ) ) ;
244
244
} ) ;
245
245
246
246
// Detecting collision: each message should produce a unique
@@ -286,7 +286,7 @@ pub(crate) mod test_helpers {
286
286
acc. iter ( ) . for_each ( |commitment| {
287
287
// Testing that verification against other commitments
288
288
// returns `false`
289
- assert ! ( ! SUPPLEMENT . verify( msg, commitment) . is_ok ( ) ) ;
289
+ assert ! ( SUPPLEMENT . verify( msg, commitment) . is_err ( ) ) ;
290
290
} ) ;
291
291
292
292
// Detecting collision: each message should produce a unique
You can’t perform that action at this time.
0 commit comments