Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nhtyy committed Nov 21, 2024
1 parent b81be57 commit 933426c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/curves/src/edwards/ed25519.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ mod tests {

CompressedEdwardsY(compressed)
};
assert_eq!(point, decompress(&compressed_point));
assert_eq!(point, decompress(&compressed_point).unwrap());

// Double the point to create a "random" point for the next iteration.
point = point.clone() + point.clone();
Expand Down
2 changes: 1 addition & 1 deletion crates/curves/src/weierstrass/bls12_381.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ mod tests {

(result, is_odd)
};
assert_eq!(point, bls12381_decompress(&compressed_point, is_odd));
assert_eq!(point, bls12381_decompress(&compressed_point, is_odd).unwrap());

// Double the point to create a "random" point for the next iteration.
point = point.clone().sw_double();
Expand Down

0 comments on commit 933426c

Please sign in to comment.