mirror of
https://github.com/saymrwulf/risc0-curve25519-dalek-source.git
synced 2026-09-06 20:20:39 +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);
|
assert_eq!(parsed, X);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(debug_assertions)]
|
||||||
#[test]
|
#[test]
|
||||||
#[should_panic]
|
#[should_panic]
|
||||||
fn batch_invert_with_a_zero_input_panics() {
|
fn batch_invert_with_a_zero_input_panics() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue