mirror of
https://github.com/saymrwulf/betrusted-curve25519-dalek-source.git
synced 2026-09-05 20:30:54 +00:00
Only test debug assertion in batch_invert when debug assertions are enabled.
This commit is contained in:
parent
02af12b81a
commit
c4f86b231c
1 changed files with 1 additions and 0 deletions
|
|
@ -1136,6 +1136,7 @@ mod test {
|
|||
assert_eq!(parsed, X);
|
||||
}
|
||||
|
||||
#[cfg(debug_assertions)]
|
||||
#[test]
|
||||
#[should_panic]
|
||||
fn batch_invert_with_a_zero_input_panics() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue